this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ft: add Jujutsu

+47
+47
modules/git.nix
··· 186 186 branchless."revsets.alias".work = "heads(draft())"; 187 187 }; 188 188 }; 189 + 190 + programs.jujutsu = { 191 + enable = true; 192 + 193 + settings = { 194 + user.email = "~@hauleth.dev"; 195 + user.name = "Łukasz Niemier"; 196 + 197 + aliases = { 198 + lg = ["log"]; 199 + }; 200 + 201 + git.write-change-id-header = true; 202 + 203 + signing = { 204 + behaviour = "own"; 205 + backend = "ssh"; 206 + key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7q0wm7C+EX0ORpRxeyhvWTT2BMPjSRQIZmbzPLIiHC"; 207 + 208 + backends.ssh = { 209 + program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"; 210 + 211 + allowed-signers = "~/.ssh/allowed_signers"; 212 + }; 213 + }; 214 + 215 + templates.draft_commit_description ='' 216 + concat( 217 + coalesce(description, default_commit_description, "\n"), 218 + surround( 219 + "\nJJ: This commit contains the following changes:\n", "", 220 + indent("JJ: ", diff.stat(72)), 221 + ), 222 + "\nJJ: ignore-rest\n", 223 + diff.git(), 224 + ) 225 + ''; 226 + 227 + "--scope" = [ 228 + { 229 + "--when".repositories = ["~/Workspace/supabase/"]; 230 + 231 + user.email = "lukasz@supabase.io"; 232 + } 233 + ]; 234 + }; 235 + }; 189 236 }