laptop: only run docker-prune on AC power
Alan Pearce alan@alanpearce.eu
Thu, 26 Sep 2019 13:24:48 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M modules/hardware/laptop.nix → modules/hardware/laptop.nix
@@ -75,6 +75,7 @@ }; systemd.services.nixos-upgrade.unitConfig.ConditionACPower = true; systemd.services.nix-gc.unitConfig.ConditionACPower = true; + systemd.services.docker-prune.unitConfig.ConditionACPower = true; imports = [ ../user-interface.nix