summaryrefslogtreecommitdiffstats
path: root/usecases/desktop
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2024-09-07 10:33:43 +0200
committerMinijackson <minijackson@riseup.net>2024-09-07 10:33:43 +0200
commite8254358c4c278562c81322ee2562830fd856fb1 (patch)
tree3a389e8a31cc74e4f832b32ca1cfc90ba0caf6e5 /usecases/desktop
parenta16508eef78e534f8083ddf354148238764ae1c1 (diff)
downloadnixos-config-reborn-e8254358c4c278562c81322ee2562830fd856fb1.tar.gz
nixos-config-reborn-e8254358c4c278562c81322ee2562830fd856fb1.zip
common/git: move git-branchless and gitoxide to development
those are unstable packages, so not really suited for prod
Diffstat (limited to 'usecases/desktop')
-rw-r--r--usecases/desktop/development.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/usecases/desktop/development.nix b/usecases/desktop/development.nix
index 88e7491..4a524f5 100644
--- a/usecases/desktop/development.nix
+++ b/usecases/desktop/development.nix
@@ -82,6 +82,9 @@ in {
82 xh 82 xh
83 83
84 git-absorb 84 git-absorb
85 git-branchless
86 gitoxide
87 watchman
85 88
86 shfmt 89 shfmt
87 taplo 90 taplo
@@ -111,6 +114,13 @@ in {
111 python3 114 python3
112 ]; 115 ];
113 116
117 environment.shellAliases.git = "git-branchless wrap --";
118
119 programs.zsh.interactiveShellInit = ''
120 (( $+commands[rustc] )) && fpath+="$(rustc --print sysroot)/share/zsh/site-functions"
121 source ${../../dotfiles/git-branchless.zsh}
122 '';
123
114 vim = { 124 vim = {
115 extraPlugins = with vimPlugins; [ 125 extraPlugins = with vimPlugins; [
116 actions-preview-nvim 126 actions-preview-nvim
@@ -203,10 +213,6 @@ in {
203 ''; 213 '';
204 }; 214 };
205 215
206 programs.zsh.interactiveShellInit = ''
207 (( $+commands[rustc] )) && fpath+="$(rustc --print sysroot)/share/zsh/site-functions"
208 '';
209
210 programs.liboping.enable = true; 216 programs.liboping.enable = true;
211 217
212 documentation.dev.enable = true; 218 documentation.dev.enable = true;