chichis
This commit is contained in:
@@ -196,6 +196,19 @@ in
|
||||
inherit ip;
|
||||
};
|
||||
};
|
||||
mkEnabledProxy = name: {
|
||||
inherit name;
|
||||
value = {
|
||||
enableProxy = true;
|
||||
};
|
||||
};
|
||||
mkEnabledProxyIp = ip: name: {
|
||||
inherit name;
|
||||
value = {
|
||||
enable = true;
|
||||
inherit ip;
|
||||
};
|
||||
};
|
||||
enableList = func: list: list |> map func |> builtins.listToAttrs;
|
||||
mkPostgresDependency = config: serviceName: displayName: {
|
||||
assertion = config.my.servers.${serviceName}.enable -> config.my.servers.postgres.enable;
|
||||
|
||||
Reference in New Issue
Block a user