feat: restrict nix commands to sudoers
This commit is contained in:
parent
80990950a0
commit
1f2a2a706d
|
@ -26,6 +26,9 @@ in {
|
||||||
# clean /tmp at each boot
|
# clean /tmp at each boot
|
||||||
boot.cleanTmpDir = true;
|
boot.cleanTmpDir = true;
|
||||||
|
|
||||||
|
# restrict nix command to sudoers
|
||||||
|
nix.allowedUsers = [ "@wheel" ];
|
||||||
|
|
||||||
# hardware
|
# hardware
|
||||||
hardware = {
|
hardware = {
|
||||||
enableRedistributableFirmware = true;
|
enableRedistributableFirmware = true;
|
||||||
|
|
Loading…
Reference in a new issue