Skip to content

Commit

Permalink
nixos/profiles/minimal: drop noXLibs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SuperSandro2000 committed Sep 13, 2024
1 parent c960ba4 commit da1b2b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 0 additions & 2 deletions nixos/modules/profiles/minimal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
with lib;

{
environment.noXlibs = mkDefault true;

documentation.enable = mkDefault false;

documentation.doc.enable = mkDefault false;
Expand Down
1 change: 0 additions & 1 deletion nixos/modules/virtualisation/lxc-instance-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit da1b2b5

Please sign in to comment.