krebs.build.source.dir.host defaults to current.host
This commit is contained in:
parent
f559b19bec
commit
4d93a8215f
|
@ -29,10 +29,13 @@ let
|
|||
};
|
||||
|
||||
options.krebs.build.source.dir = mkOption {
|
||||
type = types.attrsOf (types.submodule ({ config, ... }: {
|
||||
type = let
|
||||
default-host = config.krebs.current.host;
|
||||
in types.attrsOf (types.submodule ({ config, ... }: {
|
||||
options = {
|
||||
host = mkOption {
|
||||
type = types.host;
|
||||
default = default-host;
|
||||
};
|
||||
path = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -14,11 +14,9 @@ with lib;
|
|||
rev = "c44a593aa43bba6a0708f6f36065a514a5110613";
|
||||
};
|
||||
dir.secrets = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/secrets/cd";
|
||||
};
|
||||
dir.stockholm = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/stockholm";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -27,11 +27,9 @@ in
|
|||
rev = "c44a593aa43bba6a0708f6f36065a514a5110613";
|
||||
};
|
||||
dir.secrets = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/secrets/mkdir";
|
||||
};
|
||||
dir.stockholm = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/stockholm";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -14,11 +14,9 @@ with lib;
|
|||
rev = "c44a593aa43bba6a0708f6f36065a514a5110613";
|
||||
};
|
||||
dir.secrets = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/secrets/nomic";
|
||||
};
|
||||
dir.stockholm = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/stockholm";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -27,11 +27,9 @@ in
|
|||
rev = "c44a593aa43bba6a0708f6f36065a514a5110613";
|
||||
};
|
||||
dir.secrets = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/secrets/rmdir";
|
||||
};
|
||||
dir.stockholm = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/stockholm";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,11 +15,9 @@ with lib;
|
|||
target-path = "/var/src/nixpkgs";
|
||||
};
|
||||
dir.secrets = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/secrets/wu";
|
||||
};
|
||||
dir.stockholm = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/stockholm";
|
||||
target-path = "/var/src/stockholm";
|
||||
};
|
||||
|
|
|
@ -14,11 +14,9 @@ with lib;
|
|||
rev = "c44a593aa43bba6a0708f6f36065a514a5110613";
|
||||
};
|
||||
dir.secrets = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/secrets/xu";
|
||||
};
|
||||
dir.stockholm = {
|
||||
host = config.krebs.hosts.wu;
|
||||
path = "/home/tv/stockholm";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue