summary refs log tree commit diff stats
path: root/modules/hardware/laptop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware/laptop.nix')
-rw-r--r--modules/hardware/laptop.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix
index 43439e3..e90f4f1 100644
--- a/modules/hardware/laptop.nix
+++ b/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