diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-08 17:02:00 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-10 21:40:58 +0200 |
| commit | d05456509bc1e75f3633c4de1e79c0c5699104eb (patch) | |
| tree | fb1fc812f86f357435159b6ac090346bdde5b2e5 /share | |
| parent | 1af444a871900bc84619d1cc1890f88d1c2fdff2 (diff) | |
Configure jujutsu dvcs
Diffstat (limited to 'share')
| -rw-r--r-- | share/cfg/default.nix | 1 | ||||
| -rw-r--r-- | share/cfg/jujutsu.nix | 24 | ||||
| -rw-r--r-- | share/hm-modules/hyprdesktop.nix | 1 |
3 files changed, 26 insertions, 0 deletions
diff --git a/share/cfg/default.nix b/share/cfg/default.nix index ed290a7..373e1a1 100644 --- a/share/cfg/default.nix +++ b/share/cfg/default.nix @@ -15,5 +15,6 @@ ./fish.nix ./shellenv.nix ./hyprland.nix + ./jujutsu.nix ]; } diff --git a/share/cfg/jujutsu.nix b/share/cfg/jujutsu.nix new file mode 100644 index 0000000..4c08244 --- /dev/null +++ b/share/cfg/jujutsu.nix @@ -0,0 +1,24 @@ +{ ... }: +{ + programs.jujutsu.settings = { + user = { + email = "miran.bastaja04@gmail.com"; + name = "Miran Bastaja"; + }; + ui.paginate = "never"; + signing = { + sign-all = true; + backend = "gpg"; + key = "002426427AE095E093D51B3EF42E936D529F5760"; + backends.gpg.allow-expired-keys = false; + }; + + # `jj l` shows commits on the working-copy commit's (anonymous) branch + # compared to the `main` branch + aliases.l = [ + "log" + "-r" + "(main..@):: | (main..@)-" + ]; + }; +} diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix index 2b1c2fb..1921041 100644 --- a/share/hm-modules/hyprdesktop.nix +++ b/share/hm-modules/hyprdesktop.nix @@ -155,6 +155,7 @@ in programs.mpv.enable = true; programs.git.enable = true; + programs.jujutsu.enable = true; programs.kitty.enable = true; programs.waybar.enable = true; programs.firefox.enable = true; |
