Extra sudo module, use sudo-rs

This commit is contained in:
Oliver Davies 2025-08-13 22:44:11 +01:00
parent 656147c9dd
commit 6b06d8c1dd
2 changed files with 10 additions and 4 deletions

9
modules2/sudo.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, ... }:
{
flake.modules.nixos.pc = {
security.sudo-rs.enable = true;
users.users.${config.flake.meta.owner.username}.extraGroups = [ "wheel" ];
};
}