Make sudoers trusted nix users

restic-rest-server
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
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@
# NixOS version
system.stateVersion = "20.03";
# Make sudoers trusted nix users
nix.trustedUsers = [ "@wheel" ];
nixpkgs.config = {
# Explicitly allow unfree packages (rule of thumb: assets ok, code not ok)
allowUnfreePredicate = (