Skip to content

Commit

Permalink
Merge pull request #842 from Enzime/linux-builder-trust
Browse files Browse the repository at this point in the history
linux-builder: remove trusted user requirement
  • Loading branch information
emilazy committed Jun 13, 2024
2 parents 139ea5d + dbbcad8 commit b2ee0b3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/nix/linux-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,6 @@ in
};

config = mkIf cfg.enable {
assertions = [ {
assertion = config.nix.settings.trusted-users != [ "root" ] || (config.nix.settings.extra-trusted-users or [ ]) != [ ];
message = ''
Your user or group (@admin) needs to be added to `nix.settings.trusted-users` or `nix.settings.extra-trusted-users`
to use the Linux builder.
'';
} ];

system.activationScripts.preActivation.text = ''
mkdir -p ${cfg.workingDirectory}
'';
Expand Down

0 comments on commit b2ee0b3

Please sign in to comment.