Skip to content

Commit

Permalink
nixos/nix: move trusted-users option to it
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 11, 2023
1 parent bec25ac commit 9afa8f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions nixos/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ in
lib.mkMerge [
(import ../../shared/nix-conf.nix)
{
trusted-users = [ "root" "@wheel" ];
# For some reason when nix is running as daemon,
# extra-{substituters,trusted-public-keys} doesn't work
substituters = substituters.extra-substituters;
Expand Down
1 change: 0 additions & 1 deletion shared/nix-conf.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
auto-optimise-store = true;
trusted-users = [ "root" "@wheel" ];
experimental-features = [ "nix-command" "flakes" ];
# Useful for nix-direnv, however not sure if this will
# generate too much garbage
Expand Down

0 comments on commit 9afa8f4

Please sign in to comment.