add nixos-facter to installer

This commit is contained in:
Jörg Thalheim 2024-09-18 16:31:09 +02:00
parent 770a010bb7
commit 0bd625f4eb
2 changed files with 5 additions and 4 deletions

View file

@ -18,11 +18,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1725448034, "lastModified": 1726590405,
"narHash": "sha256-YWbVeDERbIHAEQCtDtUunHYUNH31ReIdJIP8juXfdpM=", "narHash": "sha256-mDxHh5vQyBTjNKkp+l1/WL6cEDOjxyEQxv2c+dnw8Fg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9b40840066f93767bb528810ea7dc9caacd8997f", "rev": "513193ba87b70f4d4e4d892f43fac30af286861b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -30,7 +30,8 @@
pkgs.jq pkgs.jq
# for copying extra files of nixos-anywhere # for copying extra files of nixos-anywhere
pkgs.rsync pkgs.rsync
]; # alternative to nixos-generate-config
] ++ lib.optional (pkgs.lib.versionAtLeast lib.version "24.11") pkgs.nixos-facter;
imports = [ imports = [
./nix-settings.nix ./nix-settings.nix