From 310f23d6d50e0b2499fd929fc7a314abda338318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 26 May 2024 09:50:14 +0200 Subject: [PATCH] add nixos-install fixes #222 --- nix/installer.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/installer.nix b/nix/installer.nix index 8ed0157..dda3ffd 100644 --- a/nix/installer.nix +++ b/nix/installer.nix @@ -26,6 +26,7 @@ in documentation.man.man-db.enable = false; environment.systemPackages = [ + pkgs.nixos-install-tools # for zapping of disko pkgs.jq # for copying extra files of nixos-anywhere @@ -37,8 +38,7 @@ in # reduce closure size by removing perl ] ++ lib.optionals hasPerlless [ "${modulesPath}/profiles/perlless.nix" - # We relax the perl check in perlless.nix as not all images are actually perlless - # and we also want to allow users to install perl if they need it. + # FIXME: we still are left with nixos-generate-config due to nixos-install-tools { system.forbiddenDependenciesRegexes = lib.mkForce []; } ];