Make sudoers trusted nix users
This commit is contained in:
parent
844d78d026
commit
fa9948c60b
|
@ -39,6 +39,9 @@
|
||||||
# NixOS version
|
# NixOS version
|
||||||
system.stateVersion = "20.03";
|
system.stateVersion = "20.03";
|
||||||
|
|
||||||
|
# Make sudoers trusted nix users
|
||||||
|
nix.trustedUsers = [ "@wheel" ];
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
# Explicitly allow unfree packages (rule of thumb: assets ok, code not ok)
|
# Explicitly allow unfree packages (rule of thumb: assets ok, code not ok)
|
||||||
allowUnfreePredicate = (
|
allowUnfreePredicate = (
|
||||||
|
|
Loading…
Reference in a new issue