mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[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:
parent
b41e65e9e1
commit
eccb94617e
1 changed files with 2 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue