mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-22 21:05:22 +08:00
sudo: nah
This commit is contained in:
parent
f88a546d57
commit
93370fe6a0
2 changed files with 0 additions and 15 deletions
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue