diff --git a/modules/nix-tools/user.nix b/modules/nix-tools/user.nix index 8e29574..15e614c 100644 --- a/modules/nix-tools/user.nix +++ b/modules/nix-tools/user.nix @@ -20,7 +20,7 @@ security.sudo-rs = lib.mkIf isAdmin { enable = true; extraRules = [{ - users = [ "john" ]; + users = [ "${username}" ]; commands = [{ command = "ALL"; options = [ "NOPASSWD" ];