feat: use nh (yet another nix helper)

This commit is contained in:
2025-06-27 23:22:16 +08:00
parent 8fe373eeb5
commit 705f702535
2 changed files with 16 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
inputs,
config,
lib,
pkgs,
...
}:
lib.my.makeSwitch {
@@ -20,6 +21,11 @@ lib.my.makeSwitch {
# Making legacy nix commands consistent as well, awesome!
nix.nixPath = [ "/etc/nix/path" ];
environment.systemPackages = with pkgs; [
nix-output-monitor
nh
];
environment.etc = lib.mapAttrs' (name: value: {
name = "nix/path/${name}";
value.source = value.flake;