all repos — nixfiles @ b1699076eedc46315171e0cf42e63eb6c4593459

System and user configuration, managed by nix and home-manager

laptop: only run docker-prune on AC power
Alan Pearce alan@alanpearce.eu
Thu, 26 Sep 2019 13:24:48 +0200
commit

b1699076eedc46315171e0cf42e63eb6c4593459

parent

e206cd977ea49bc948bf16941090e35ac5aed03e

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M modules/hardware/laptop.nixmodules/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