diff --git a/nixos/nix.nix b/nixos/nix.nix index a7d8fcf..65c09a8 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -27,6 +27,7 @@ extra-platforms = lib.mkIf pkgs.stdenv.isDarwin "aarch64-darwin x86_64-darwin"; # Nullify the registry for purity. flake-registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}''; + trusted-users = [ "root" flake.config.people.myself ]; }; }; } diff --git a/nixos/server/harden.nix b/nixos/server/harden.nix index 1755aa7..c1ab94a 100644 --- a/nixos/server/harden.nix +++ b/nixos/server/harden.nix @@ -28,5 +28,4 @@ }; }; nix.settings.allowed-users = [ "root" "@users" ]; - nix.settings.trusted-users = [ "root" flake.config.people.myself ]; }