feat: make nhs a direnv script

This commit is contained in:
Jet Pham 2026-02-28 16:30:45 -08:00
parent 66ffe8350c
commit 50c1504d47
No known key found for this signature in database
3 changed files with 15 additions and 3 deletions

View file

@ -64,5 +64,19 @@
];
};
};
devShells.x86_64-linux.default =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
nhs = pkgs.writeShellScriptBin "nhs" ''
nh os switch --hostname framework --impure path:. "$@"
'';
in
pkgs.mkShell {
packages = [
pkgs.nh
nhs
];
};
};
}