this repo has no description
1
fork

Configure Feed

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

feat: move Jujutsu configuration to separate file

+53 -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 - }; 236 189 }
+52
modules/jj.nix
··· 1 + { pkgs, ... }: { 2 + programs.jujutsu = { 3 + enable = true; 4 + 5 + settings = { 6 + user.email = "~@hauleth.dev"; 7 + user.name = "Łukasz Niemier"; 8 + 9 + aliases = { 10 + lg = ["log"]; 11 + }; 12 + 13 + git.write-change-id-header = true; 14 + 15 + signing = { 16 + behaviour = "own"; 17 + backend = "ssh"; 18 + key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7q0wm7C+EX0ORpRxeyhvWTT2BMPjSRQIZmbzPLIiHC"; 19 + 20 + backends.ssh = { 21 + program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"; 22 + 23 + allowed-signers = "~/.ssh/allowed_signers"; 24 + }; 25 + }; 26 + 27 + templates.draft_commit_description ='' 28 + concat( 29 + coalesce(description, default_commit_description, "\n"), 30 + surround( 31 + "\nJJ: This commit contains the following changes:\n", "", 32 + indent("JJ: ", diff.stat(72)), 33 + ), 34 + "\nJJ: ignore-rest\n", 35 + diff.git(), 36 + ) 37 + ''; 38 + 39 + "--scope" = [ 40 + { 41 + "--when".repositories = ["~/Workspace/supabase/"]; 42 + 43 + user.email = "lukasz@supabase.io"; 44 + } 45 + ]; 46 + }; 47 + }; 48 + 49 + home.packages = [ 50 + pkgs.jjui 51 + ]; 52 + }
+1
users/hauleth.nix
··· 12 12 ../modules/pijul.nix 13 13 ../modules/nvim.nix 14 14 ../modules/ghostty.nix 15 + ../modules/jj.nix 15 16 ./modules/dircolors.nix 16 17 {home.stateVersion = "24.11";} 17 18 ];