Skip to content

Commit

Permalink
Merge pull request #1257 from Enzime/push-nzlzmsqpwswu
Browse files Browse the repository at this point in the history
nix: merge `nix.settings.trusted-users` by default
  • Loading branch information
Enzime authored Jan 8, 2025
2 parents ba9b317 + 9e856ad commit 57733bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 57733bd

Please sign in to comment.