diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home/common.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix index e2f5c94..4eb0d56 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -1,5 +1,9 @@ { pkgs, ... }: +let + # a small useful script with common nix+nixos commands, invoked with `nx` + nx-script = pkgs.writeShellScriptBin "nx" (builtins.readFile ../../scripts/nx.sh); +in { programs = { git = { @@ -38,4 +42,8 @@ zoxide = { enable = true; enableFishIntegration = true; }; }; + + home.packages = [ + nx-script + ]; } |
