Make sudoers trusted nix users

This commit is contained in:
Simon Bruder 2020-10-30 17:12:56 +01:00
parent 844d78d026
commit fa9948c60b
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -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 = (