diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-09-26 13:10:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 13:10:39 +0800 |
commit | 8cc9d24fe1e981b558c68c7cc6a767f9b84ef4df (patch) | |
tree | c843f238eb7866458f85860d2b74d76b2d458d73 /nixos/modules/virtualisation | |
parent | 28a7e8fb753c82c579a6505053e2a683857c1a5c (diff) | |
parent | 897834f0159fd3180430cfa88ebd70a772238ceb (diff) |
Merge pull request #69387 from peterhoeg/f/optimise
nixos/nix-optimise: be smarter about when we run the store optimiser
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/container-config.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/container-config.nix b/nixos/modules/virtualisation/container-config.nix index ca7f126c59f68..adb2f78a0a646 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -7,6 +7,7 @@ with lib; config = mkIf config.boot.isContainer { # Disable some features that are not useful in a container. + nix.optimise.automatic = mkDefault false; # the store is host managed services.udisks2.enable = mkDefault false; powerManagement.enable = mkDefault false; |