diff options
Diffstat (limited to 'modules/home')
| -rw-r--r-- | modules/home/common.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix index 52cdf11..0bbb68c 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 { imports = [ ../foundation/home @@ -56,4 +60,8 @@ home.sessionPath = [ "$HOME/.local/share/JetBrains/Toolbox/scripts" ]; + + home.packages = [ + nx-script + ]; } |
