Update + remote build for some deploys
This commit is contained in:
parent
9efd16c34f
commit
a2878180cf
4 changed files with 45 additions and 38 deletions
|
|
@ -31,6 +31,7 @@ in rec {
|
|||
result: name: let
|
||||
host = hosts.${name};
|
||||
user = overrides.user or null;
|
||||
remoteBuild = overrides.remoteBuild or null;
|
||||
inherit (host.pkgs) system;
|
||||
in
|
||||
result
|
||||
|
|
@ -51,6 +52,9 @@ in rec {
|
|||
// lib.optionalAttrs (user != null) {
|
||||
sshUser = user;
|
||||
}
|
||||
// lib.optionalAttrs (remoteBuild != null) {
|
||||
inherit remoteBuild;
|
||||
}
|
||||
// lib.optionalAttrs (host.config.system.security.doas.enable or false) {
|
||||
sudo = "doas -u";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue