mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
linux-builder: remove trusted user requirement
If you set up a signing key for the `linux-builder` and add that as trusted public key on your machine, you won't need to be a trusted user at all.
This commit is contained in:
parent
0a3afdc600
commit
dbbcad8b9b
1 changed files with 0 additions and 8 deletions
|
@ -80,14 +80,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 /var/lib/darwin-builder
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue