From 0bd625f4ebe6e2d08fe12b8f51d91d62d49906a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Sep 2024 16:31:09 +0200 Subject: [PATCH] add nixos-facter to installer --- flake.lock | 6 +++--- nix/installer.nix | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index d463e7a..6a48a27 100644 --- a/flake.lock +++ b/flake.lock @@ -18,11 +18,11 @@ }, "nixos-unstable": { "locked": { - "lastModified": 1725448034, - "narHash": "sha256-YWbVeDERbIHAEQCtDtUunHYUNH31ReIdJIP8juXfdpM=", + "lastModified": 1726590405, + "narHash": "sha256-mDxHh5vQyBTjNKkp+l1/WL6cEDOjxyEQxv2c+dnw8Fg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b40840066f93767bb528810ea7dc9caacd8997f", + "rev": "513193ba87b70f4d4e4d892f43fac30af286861b", "type": "github" }, "original": { diff --git a/nix/installer.nix b/nix/installer.nix index 9e2e325..740567a 100644 --- a/nix/installer.nix +++ b/nix/installer.nix @@ -30,7 +30,8 @@ pkgs.jq # for copying extra files of nixos-anywhere pkgs.rsync - ]; + # alternative to nixos-generate-config + ] ++ lib.optional (pkgs.lib.versionAtLeast lib.version "24.11") pkgs.nixos-facter; imports = [ ./nix-settings.nix