more work

This commit is contained in:
Chris Kruining 2025-07-24 09:57:59 +02:00
parent 30501b7fac
commit ef6c049068
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
36 changed files with 843 additions and 842 deletions

View file

@ -0,0 +1,23 @@
{ config, namespace, ... }:
let
cfg = config.${namespace}.system.security.sudo;
in
{
options.${namespace}.system.security.sudo = {};
config = {
security = {
sudo = {
enable = false;
execWheelOnly = true;
};
sudo-rs = {
enable = true;
extraConfig = ''
Defaults env_keep += "EDITOR PATH DISPLAY"
'';
};
};
};
}