nixos/perlless: only disable installer tools that introduce perl

This commit is contained in:
isabel 2025-03-09 23:24:20 +00:00
parent 5c2eeaafda
commit adcdeadefd
No known key found for this signature in database
GPG key ID: 3E7C7A1B5DEDBB03

View file

@ -8,7 +8,7 @@
services.userborn.enable = lib.mkDefault true;
# Random perl remnants
system.disableInstallerTools = lib.mkDefault true;
system.tools.nixos-generate-config.enable = lib.mkDefault false;
programs.less.lessopen = lib.mkDefault null;
programs.command-not-found.enable = lib.mkDefault false;
boot.enableContainers = lib.mkDefault false;
@ -20,9 +20,4 @@
# Check that the system does not contain a Nix store path that contains the
# string "perl".
system.forbiddenDependenciesRegexes = [ "perl" ];
# Re-add nixos-rebuild to the systemPackages that was removed by the
# `system.disableInstallerTools` option.
environment.systemPackages = [ pkgs.nixos-rebuild ];
}