diff options
| author | Mel <mel@rnrd.eu> | 2026-01-16 15:03:49 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-01-16 15:03:49 +0100 |
| commit | 8e6c980c9548ec0d5e7c200a760121a824b6d47d (patch) | |
| tree | 26c159459a5f6d041eff25096a92262bb757089c /modules | |
| parent | b637a518646ae2147403f01bd9ee250381bd8de0 (diff) | |
| download | network-8e6c980c9548ec0d5e7c200a760121a824b6d47d.tar.zst network-8e6c980c9548ec0d5e7c200a760121a824b6d47d.zip | |
Nix/NixOS shortcut script `nx`
Signed-off-by: Mel <mel@rnrd.eu>
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 + ]; } |
