the great update
This commit is contained in:
@@ -13,9 +13,28 @@
|
||||
"video"
|
||||
"audio"
|
||||
"libvirtd"
|
||||
"nix"
|
||||
"power"
|
||||
"docker"
|
||||
];
|
||||
uid = 1000;
|
||||
homix = true;
|
||||
};
|
||||
|
||||
users.defaultUserShell = pkgs.bash;
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
commands =
|
||||
builtins.map (command: {
|
||||
command = "/run/current-system/sw/bin/${command}";
|
||||
options = ["NOPASSWD"];
|
||||
})
|
||||
[ "poweroff" "reboot" "nixos-rebuild" "systemctl" "nmtui" "tailscale" ];
|
||||
groups = [ "wheel" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user