From 3bc556ffbafaca3e6f7d077651d01ddfd3eebbc0 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Fri, 16 Jul 2021 18:04:56 +0200 Subject: [PATCH] security: Allow alex to run nixos-rebuild as root --- thrall/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrall/configuration.nix b/thrall/configuration.nix index 7176f63..bb63839 100644 --- a/thrall/configuration.nix +++ b/thrall/configuration.nix @@ -67,7 +67,7 @@ extraRules = [ { groups = [ "wheel" ]; commands = [ - { command = "/run/current-system/sw/bin/nixos-rebuild switch"; + { command = "/run/current-system/sw/bin/nixos-rebuild"; options = [ "NOPASSWD" ]; } ];