Fixup sudo options

This commit is contained in:
jimzah 2024-08-06 11:01:11 +01:00
parent 54f1b8ca8b
commit cd42676950

View File

@ -4,9 +4,13 @@
./aprs.nix
];
environment.systemPackages = with pkgs; [ vim git direwolf ];
security.sudo.extraRules = [
{ users = [ "jim" ];
options = [ "NOPASSWD" ];
security.sudo.extraRules= [
{ users = [ "jim" ];
commands = [
{ command = "ALL" ;
options= [ "NOPASSWD" ];
}
];
}
];
services.openssh = {