kyra(hardening): sudo -> sudo-rs
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
59647629a8
commit
8c03fdb04a
2 changed files with 16 additions and 0 deletions
9
kyra/security/sudo-rs.nix
Normal file
9
kyra/security/sudo-rs.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
_: {
|
||||||
|
security = {
|
||||||
|
sudo-rs = {
|
||||||
|
enable = true;
|
||||||
|
wheelNeedsPassword = true;
|
||||||
|
execWheelOnly = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
7
kyra/security/sudo.nix
Normal file
7
kyra/security/sudo.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
security = {
|
||||||
|
sudo = {
|
||||||
|
enable = lib.mkDefault false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue