per host nix modules by user

This commit is contained in:
ringofstorms 2024-04-07 12:54:35 -05:00
parent 8975b5cc3c
commit 5291ac3b47
26 changed files with 23 additions and 4 deletions

View file

@ -0,0 +1,15 @@
{ pkgs, settings, ... }:
{
security.sudo.extraRules = [
{
users = [ settings.user.username ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
}

View file

View file