sudo: nah

This commit is contained in:
Sridhar Ratnakumar 2025-08-28 22:40:14 -04:00
parent f88a546d57
commit 93370fe6a0
2 changed files with 0 additions and 15 deletions

View file

@ -17,7 +17,6 @@ in
}
self.nixosModules.common
inputs.agenix.nixosModules.default # Used in github-runner.nix & hedgedoc.nix
./linux/self-ide.nix
./linux/current-location.nix
];

View file

@ -1,14 +0,0 @@
{ flake, ... }: {
# For no-prompt Ctrl+Shift+B in VSCode
security.sudo.extraRules = [
{
users = [ flake.config.me.username ];
commands = [
{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];
}
];
}