Merge pull request #69387 from peterhoeg/f/optimise

nixos/nix-optimise: be smarter about when we run the store optimiser
This commit is contained in:
Peter Hoeg
2019-09-26 13:10:39 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
@@ -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;