diff options
| author | Michael Hoang <Enzime@users.noreply.github.com> | 2025-01-09 08:12:35 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 08:12:35 +1100 |
| commit | 57733bd1dc81900e13438e5b4439239f1b29db0e (patch) | |
| tree | 5605ed5a5f6d6220648aa416e2359576aaf8e871 /modules | |
| parent | ba9b3173b0f642ada42b78fb9dfc37ca82266f6c (diff) | |
| parent | 9e856ad0c1a677d1585e53a634c4abe487601c51 (diff) | |
Merge pull request #1257 from Enzime/push-nzlzmsqpwswu
nix: merge `nix.settings.trusted-users` by default
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nix/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 41398fa..6e4292a 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -617,7 +617,6 @@ in trusted-users = mkOption { type = types.listOf types.str; - default = [ "root" ]; example = [ "root" "alice" "@admin" ]; description = '' A list of names of users that have additional rights when @@ -835,10 +834,10 @@ in done ''; - # Legacy configuration conversion. nix.settings = mkMerge [ { trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; + trusted-users = [ "root" ]; substituters = mkAfter [ "https://cache.nixos.org/" ]; # Not implemented yet |
