mirror of
https://git.sr.ht/~azikx/wyswort
synced 2024-10-30 11:06:19 +00:00
23 lines
527 B
Nix
23 lines
527 B
Nix
{ ... }: {
|
|
security = {
|
|
sudo = { # FUCKING CRAP
|
|
enable = true;
|
|
};
|
|
doas = { # VERY TOP
|
|
enable = true;
|
|
wheelNeedsPassword = true;
|
|
extraRules = [{
|
|
users = [ "megamozg" ];
|
|
keepEnv = true;
|
|
persist = true;
|
|
}];
|
|
extraConfig =
|
|
" permit nopass megamozg as root cmd light\n permit nopass megamozg as root cmd tee\n";
|
|
};
|
|
pam = { # SOMTHING WITH FPRINT
|
|
services = { swaylock.fprintAuth = true; };
|
|
};
|
|
polkit = { enable = true; };
|
|
};
|
|
}
|