summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-14 11:30:06 +0100
committerlassulus <lass@lassul.us>2017-03-14 11:30:06 +0100
commita4076bbb895318385572fe0c5a8ee354fa755189 (patch)
treea750b3019d96dc699f7ec789c466bdd0a99f4836
parent8e1bf00367ecb385a2591f3ed5c9909b1a17f4e6 (diff)
l 2 power-action: use new sudo path
-rw-r--r--lass/2configs/power-action.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/power-action.nix b/lass/2configs/power-action.nix
index f22bf451a..c7bdb525d 100644
--- a/lass/2configs/power-action.nix
+++ b/lass/2configs/power-action.nix
@@ -26,7 +26,7 @@ in {
lowerLimit = 0;
charging = false;
action = pkgs.writeDash "suspend-wrapper" ''
- /var/setuid-wrappers/sudo ${suspend}
+ /run/wrappers/bin/sudo ${suspend}
'';
};
user = "lass";