[nix] Allow my user to suspend the box

This commit is contained in:
Sebastian Schulze 2022-01-18 23:17:33 +01:00
parent d15c20e9f4
commit ee73697e7b
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@
keepEnv = true;
noPass = true;
cmd = "/run/current-system/sw/bin/cryptsetup";
}{
users = [ "bascht" ];
noPass = true;
cmd = "/run/current-system/sw/bin/systemctl";
args = ["suspend"];
}{
users = [ "bascht" ];
noPass = true;