summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-03-20 13:39:47 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-03-20 13:39:47 +0100
commitf63445396e9c0137fa0ae2756d1b50839016aafa (patch)
treee462770cb7e1e9eb033424ce32db1fc987564415 /accounts/gkleen@sif/default.nix
parent3ecfc912555a589d390fd5e5b4b33dc6d7d1e484 (diff)
downloadnixos-f63445396e9c0137fa0ae2756d1b50839016aafa.tar
nixos-f63445396e9c0137fa0ae2756d1b50839016aafa.tar.gz
nixos-f63445396e9c0137fa0ae2756d1b50839016aafa.tar.bz2
nixos-f63445396e9c0137fa0ae2756d1b50839016aafa.tar.xz
nixos-f63445396e9c0137fa0ae2756d1b50839016aafa.zip
...
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r--accounts/gkleen@sif/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 7b07791b..cf65c155 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -234,10 +234,10 @@ in {
234 234
235 screen-locker = { 235 screen-locker = {
236 enable = true; 236 enable = true;
237 lockCmd = pkgs.writeShellScript "lock" '' 237 lockCmd = toString (pkgs.writeShellScript "lock" ''
238 ${pkgs.playerctl}/bin/playerctl -a pause 238 ${pkgs.playerctl}/bin/playerctl -a pause
239 exec ${pkgs.xsecurelock}/bin/xsecurelock 239 exec ${pkgs.xsecurelock}/bin/xsecurelock
240 ''; 240 '');
241 xss-lock.extraOptions = ["--tranfer-sleep-lock"]; 241 xss-lock.extraOptions = ["--tranfer-sleep-lock"];
242 }; 242 };
243 }; 243 };