mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 13:24:38 -05:00
feat: smtp test
This commit is contained in:
parent
12293c0a31
commit
748267110c
2 changed files with 19 additions and 31 deletions
|
@ -1,18 +0,0 @@
|
||||||
{ instancesFunctions }:
|
|
||||||
let
|
|
||||||
inherit (instancesFunctions)
|
|
||||||
dummy
|
|
||||||
;
|
|
||||||
hledgerLabel = "Hledger";
|
|
||||||
hledgerName = "hledger";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
label = hledgerLabel;
|
|
||||||
name = hledgerName;
|
|
||||||
paths = {
|
|
||||||
path0 = "/mnt/media/storage/${hledgerLabel}";
|
|
||||||
};
|
|
||||||
ports = {
|
|
||||||
port0 = 5000;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -12,20 +12,26 @@ let
|
||||||
sopsPath = "/var/lib/secrets";
|
sopsPath = "/var/lib/secrets";
|
||||||
sslPath = "/var/lib/acme";
|
sslPath = "/var/lib/acme";
|
||||||
varLib = "/var/lib";
|
varLib = "/var/lib";
|
||||||
dummy = [];
|
dummy = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
instances = builtins.listToAttrs (map (name: {
|
instances = builtins.listToAttrs (
|
||||||
name = builtins.substring 0 (builtins.stringLength name - 4) name;
|
map
|
||||||
value = import (configPath + "/${name}") {
|
(name: {
|
||||||
inherit
|
name = builtins.substring 0 (builtins.stringLength name - 4) name;
|
||||||
instancesFunctions
|
value = import (configPath + "/${name}") {
|
||||||
;
|
inherit
|
||||||
};
|
instancesFunctions
|
||||||
})
|
;
|
||||||
(builtins.filter (name:
|
};
|
||||||
builtins.match ".*\\.nix$" name != null) (builtins.attrNames
|
})
|
||||||
(builtins.readDir configPath))));
|
(
|
||||||
in {
|
builtins.filter (name: builtins.match ".*\\.nix$" name != null) (
|
||||||
|
builtins.attrNames (builtins.readDir configPath)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
in
|
||||||
|
{
|
||||||
instances = instances;
|
instances = instances;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue