summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2023-10-26 00:53:03 +0200
committernikstur <nikstur@outlook.com>2023-10-28 13:26:39 +0200
commit8dfe8e447efefcaf2990532114f4b0259ba2eba3 (patch)
tree236ee4257988f03f328d2a2cb782b76333afb6d2 /nixos
parent79eba74561a67d9e5f8a936e9a3a5eede7916cf5 (diff)
nixos/profiles/minimal: remove some perl
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/profiles/minimal.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/modules/profiles/minimal.nix b/nixos/modules/profiles/minimal.nix
index bd1b2b4521899..75f355b4a002b 100644
--- a/nixos/modules/profiles/minimal.nix
+++ b/nixos/modules/profiles/minimal.nix
@@ -18,6 +18,15 @@ with lib;
 
   documentation.nixos.enable = mkDefault false;
 
+  # Perl is a default package.
+  environment.defaultPackages = mkDefault [ ];
+
+  # The lessopen package pulls in Perl.
+  programs.less.lessopen = mkDefault null;
+
+  # This pulls in nixos-containers which depends on Perl.
+  boot.enableContainers = mkDefault false;
+
   programs.command-not-found.enable = mkDefault false;
 
   services.logrotate.enable = mkDefault false;