nix machine / user configurations

refactor: use nh from nixpkgs

ptr.pet f06d8449 2889fc6e

verified
Changed files
+4 -24
shells
-21
flake.lock
···
"type": "github"
}
},
-
"nh": {
-
"inputs": {
-
"nixpkgs": [
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1743682999,
-
"narHash": "sha256-bg+aAN8K90r3m/I+xXiXG0gawpbkshwlk93wxUN7KEk=",
-
"owner": "viperML",
-
"repo": "nh",
-
"rev": "9e9a4590b38b62b28f07a1fae973ce7b6ca0687a",
-
"type": "github"
-
},
-
"original": {
-
"owner": "viperML",
-
"repo": "nh",
-
"type": "github"
-
}
-
},
"nixinate": {
"inputs": {
"nixpkgs": [
···
"home": "home",
"limbusart": "limbusart",
"naked-shell": "naked-shell_2",
-
"nh": "nh",
"nixinate": "nixinate",
"nixos-hardware": "nixos-hardware",
"nixos-persistence": "nixos-persistence",
+2 -3
flake.nix
···
limbusart.url = "git+https://git.gaze.systems/dusk/limbusart.git";
# limbusart.inputs.nixpkgs.follows = "nixpkgs";
-
nh.url = "github:viperML/nh";
-
nh.inputs.nixpkgs.follows = "nixpkgs";
+
# nh.url = "github:viperML/nh";
+
# nh.inputs.nixpkgs.follows = "nixpkgs";
# discordrp-mpris.url = "github:yusdacra/discordrp-mpris-flake";
# discordrp-mpris.inputs.nixpkgs.follows = "nixpkgs";
···
lib.mapAttrs (_: pkgs: {
generate-firefox-addons = toString "${pkgs.generate-firefox-addons}/bin/generate-firefox-addons";
dns = toString "${pkgs.dnsmngmt}/bin/dns";
-
nh = toString "${inputs.nh.packages.${pkgs.system}.default}/bin/nh";
}) allPkgs
);
in
+2
shells/default.nix
···
nixfmt-rfc-style
treefmt
rage
+
nh
])
++ [ agenix-wrapped ];
shellHook = ''
echo \"$(tput bold)welcome to PRTS, $USER$(tput sgr0)\"
+
export FLAKE=$PWD
'';
};
}