diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2023-12-31 13:28:24 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2023-12-31 14:00:39 +1100 |
| commit | dbbcad8b9bd90ff5f2785006fe86533edb4edd5c (patch) | |
| tree | c487a25fce5872fc80ec144e4a62d21ed024b929 /modules/nix | |
| parent | 0a3afdc60042d8e1c2deb63bdfa017acc424a397 (diff) | |
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.
Diffstat (limited to 'modules/nix')
| -rw-r--r-- | modules/nix/linux-builder.nix | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/nix/linux-builder.nix b/modules/nix/linux-builder.nix index da8d791..41fec9d 100644 --- a/modules/nix/linux-builder.nix +++ b/modules/nix/linux-builder.nix @@ -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 ''; |
