mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #842 from Enzime/linux-builder-trust
linux-builder: remove trusted user requirement
This commit is contained in:
commit
b2ee0b3c03
1 changed files with 0 additions and 8 deletions
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue