[Nix] add root and @wheel to trusted-users, explicitely

This fixes issues caused by adding anything to this setting (which
disables the default value)
This commit is contained in:
Antoine Viallon 2025-01-27 11:10:03 +01:00
parent b41e65e9e1
commit eccb94617e
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -118,6 +118,8 @@ in
nix.settings.cores = mkIf (generalCfg.cpu.threads != null) generalCfg.cpu.threads;
nix.settings.max-jobs = mkIf (generalCfg.cpu.threads != null) (math.log2 generalCfg.cpu.threads);
nix.settings.trusted-users = [ "root" "@wheel" ];
nix.settings.hashed-mirrors = [ "https://tarballs.nixos.org" "https://nixpkgs-unfree.cachix.org" ];
nix.registry = {