security(sudo): Use sudo-rs instead of sudo since CVE-2025-32463
This commit is contained in:
parent
9e7124071b
commit
119897a545
2 changed files with 8 additions and 0 deletions
|
|
@ -27,5 +27,6 @@
|
||||||
./wshowkeys.nix
|
./wshowkeys.nix
|
||||||
./bash.nix
|
./bash.nix
|
||||||
./obs.nix
|
./obs.nix
|
||||||
|
./sudo-rs.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
7
nixos/modules/programs/sudo-rs.nix
Normal file
7
nixos/modules/programs/sudo-rs.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
security.sudo-rs = {
|
||||||
|
enable = true;
|
||||||
|
execWheelOnly = true;
|
||||||
|
wheelNeedsPassword = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue