From da1b2b5adb07c342526ef3573f5e13ce52a2bc87 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sat, 14 Sep 2024 00:33:00 +0200 Subject: [PATCH] nixos/profiles/minimal: drop noXLibs noXLibs is an advanced option for advanced users which know how to recognize and debug build failures which might be caused by the added overlays. The minimal profile should be minimal but also save to use for many people and not cause build failures in packages it really shouldn't. --- nixos/modules/installer/cd-dvd/installation-cd-minimal.nix | 3 --- nixos/modules/profiles/minimal.nix | 2 -- nixos/modules/virtualisation/lxc-instance-common.nix | 1 - 3 files changed, 6 deletions(-) diff --git a/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix b/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix index 1932f90d4c360..8f019d3d80ac8 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix @@ -9,9 +9,6 @@ ./installation-cd-base.nix ]; - # Causes a lot of uncached builds for a negligible decrease in size. - environment.noXlibs = lib.mkOverride 500 false; - documentation.man.enable = lib.mkOverride 500 true; # Although we don't really need HTML documentation in the minimal installer, diff --git a/nixos/modules/profiles/minimal.nix b/nixos/modules/profiles/minimal.nix index b76740f7cc587..e6aafccb8906f 100644 --- a/nixos/modules/profiles/minimal.nix +++ b/nixos/modules/profiles/minimal.nix @@ -6,8 +6,6 @@ with lib; { - environment.noXlibs = mkDefault true; - documentation.enable = mkDefault false; documentation.doc.enable = mkDefault false; diff --git a/nixos/modules/virtualisation/lxc-instance-common.nix b/nixos/modules/virtualisation/lxc-instance-common.nix index 77285e5297263..1a9ee7a2680b1 100644 --- a/nixos/modules/virtualisation/lxc-instance-common.nix +++ b/nixos/modules/virtualisation/lxc-instance-common.nix @@ -27,7 +27,6 @@ services.openssh.startWhenNeeded = lib.mkDefault true; # As this is intended as a standalone image, undo some of the minimal profile stuff - environment.noXlibs = false; documentation.enable = true; documentation.nixos.enable = true; services.logrotate.enable = true;