diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-20 13:39:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-20 13:39:47 +0100 |
commit | f63445396e9c0137fa0ae2756d1b50839016aafa (patch) | |
tree | e462770cb7e1e9eb033424ce32db1fc987564415 /accounts/gkleen@sif/default.nix | |
parent | 3ecfc912555a589d390fd5e5b4b33dc6d7d1e484 (diff) | |
download | nixos-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.nix | 4 |
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 | }; |