diff --git a/lnf/configuration.nix b/lnf/configuration.nix index 9cb4868..9de50ca 100644 --- a/lnf/configuration.nix +++ b/lnf/configuration.nix @@ -109,7 +109,11 @@ users = [ "user" ]; commands = [ { - command = "/run/current-system/sw/bin/systemctl restart cage-tty1.service"; + command = "/run/current-system/sw/bin/systemctl start cage-tty1.service"; + options = [ "NOPASSWD" ]; + } + { + command = "/run/current-system/sw/bin/systemctl kill cage-tty1.service"; options = [ "NOPASSWD" ]; } ];