nixos/perlless: only disable installer tools that introduce perl
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
services.userborn.enable = lib.mkDefault true;
|
services.userborn.enable = lib.mkDefault true;
|
||||||
|
|
||||||
# Random perl remnants
|
# Random perl remnants
|
||||||
system.disableInstallerTools = lib.mkDefault true;
|
system.tools.nixos-generate-config.enable = lib.mkDefault false;
|
||||||
programs.less.lessopen = lib.mkDefault null;
|
programs.less.lessopen = lib.mkDefault null;
|
||||||
programs.command-not-found.enable = lib.mkDefault false;
|
programs.command-not-found.enable = lib.mkDefault false;
|
||||||
boot.enableContainers = 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
|
# Check that the system does not contain a Nix store path that contains the
|
||||||
# string "perl".
|
# string "perl".
|
||||||
system.forbiddenDependenciesRegexes = [ "perl" ];
|
system.forbiddenDependenciesRegexes = [ "perl" ];
|
||||||
|
|
||||||
# Re-add nixos-rebuild to the systemPackages that was removed by the
|
|
||||||
# `system.disableInstallerTools` option.
|
|
||||||
environment.systemPackages = [ pkgs.nixos-rebuild ];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user