mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-09 01:47:23 +08:00
hetzner: sudo pass
This commit is contained in:
parent
2a21edc72d
commit
cde03e66f8
1 changed files with 11 additions and 0 deletions
|
|
@ -119,6 +119,17 @@
|
|||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "srid" ];
|
||||
commands = [
|
||||
{
|
||||
command = "ALL";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue