my nixos dotfiles :3 (git.koi.rip mirror) git.koi.rip/koi/dotfiles
linux dotfiles neovim nixos catppuccin

jujutsu: init :3

+70 -13
+7
external/gitmessage.txt
··· 1 + 2 + 3 + # remember to set commit author to pr author when merging 4 + # Reviewed-on: 5 + # Reviewed-by: koi <me@koi.rip> 6 + # Signed-off-by: koi <me@koi.rip> 7 + # Co-authored-by: user <user@users.noreply.github.com>
+4 -4
flake.lock
··· 35 35 ] 36 36 }, 37 37 "locked": { 38 - "lastModified": 1767835245, 39 - "narHash": "sha256-U2JarlML426gEC7cjWErNMpeF2+/XkW2HX5D6VOARu8=", 40 - "rev": "0e89ca2859ae7d24b6d8f3311895e995313007b1", 38 + "lastModified": 1768008191, 39 + "narHash": "sha256-dY0y7oq/mDxa+gg+50uMSlRgFGACTfFTasbS8/8hd4Y=", 40 + "rev": "1258a8c08b1876bceb3baa0cd9f6b0a067c6eea1", 41 41 "type": "tarball", 42 - "url": "https://codeberg.org/api/v1/repos/koibtw/anvim/archive/0e89ca2859ae7d24b6d8f3311895e995313007b1.tar.gz?rev=0e89ca2859ae7d24b6d8f3311895e995313007b1" 42 + "url": "https://codeberg.org/api/v1/repos/koibtw/anvim/archive/1258a8c08b1876bceb3baa0cd9f6b0a067c6eea1.tar.gz?rev=1258a8c08b1876bceb3baa0cd9f6b0a067c6eea1" 43 43 }, 44 44 "original": { 45 45 "type": "tarball",
+1
home/modules/programs/default.nix
··· 9 9 ./zoxide.nix 10 10 ./neovim.nix 11 11 ./cuteff.nix 12 + ./jujutsu.nix 12 13 ./jellyfin-rpc.nix 13 14 14 15 ./niri.nix
+1 -9
home/modules/programs/git.nix
··· 62 62 }; 63 63 }; 64 64 65 - home.file.".gitmessage".text = '' 66 - 67 - 68 - # remember to set commit author to pr author when merging 69 - # Reviewed-on: 70 - # Reviewed-by: koi <me@koi.rip> 71 - # Signed-off-by: koi <me@koi.rip> 72 - # Co-authored-by: user <user@users.noreply.github.com> 73 - ''; 65 + home.file.".gitmessage".source = ../../../external/gitmessage.txt; 74 66 }
+57
home/modules/programs/jujutsu.nix
··· 1 + { 2 + programs.jujutsu = { 3 + enable = true; 4 + 5 + settings = { 6 + user = { 7 + name = "koi"; 8 + email = "me@koi.rip"; 9 + }; 10 + 11 + signing = { 12 + behavior = "force"; 13 + backend = "gpg"; 14 + key = "5A530832DA9120B0CA57DDB67CBDB58ECF1D3478"; 15 + }; 16 + 17 + ui = { 18 + diff-formatter = ":git"; 19 + pager = [ 20 + "sh" 21 + "-c" 22 + "diff-so-fancy | less -RFX" 23 + ]; 24 + }; 25 + 26 + colors = { 27 + "diff added token" = { 28 + underline = false; 29 + }; 30 + "diff removed token" = { 31 + underline = false; 32 + }; 33 + }; 34 + 35 + aliases = { 36 + init = [ 37 + "git" 38 + "init" 39 + "--colocate" 40 + ]; 41 + }; 42 + 43 + templates = { 44 + draft_commit_description = '' 45 + concat( 46 + builtin_draft_commit_description, 47 + "${ 48 + builtins.replaceStrings [ "# " ] [ "JJ: " ] (builtins.readFile ../../../external/gitmessage.txt) 49 + }", 50 + "\nJJ: ignore-rest\n", 51 + diff.git(), 52 + ) 53 + ''; 54 + }; 55 + }; 56 + }; 57 + }