move indent to lib
This commit is contained in:
parent
65de42b52c
commit
cc928ccbc6
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
with import <stockholm/lib>;
|
with import <stockholm/lib>;
|
||||||
let
|
let
|
||||||
indent = replaceChars ["\n"] ["\n "];
|
|
||||||
cfg = config.krebs.exim-smarthost;
|
cfg = config.krebs.exim-smarthost;
|
||||||
|
|
||||||
out = {
|
out = {
|
||||||
|
|
|
@ -129,8 +129,6 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
indent = replaceChars ["\n"] ["\n "];
|
|
||||||
|
|
||||||
to-acme = { server-names, ssl, ... }:
|
to-acme = { server-names, ssl, ... }:
|
||||||
optionalAttrs ssl.acmeEnable {
|
optionalAttrs ssl.acmeEnable {
|
||||||
email = "lassulus@gmail.com";
|
email = "lassulus@gmail.com";
|
||||||
|
|
|
@ -39,6 +39,8 @@ let
|
||||||
string = toJSON x; # close enough
|
string = toJSON x; # close enough
|
||||||
}.${type} or reject;
|
}.${type} or reject;
|
||||||
|
|
||||||
|
indent = replaceChars ["\n"] ["\n "];
|
||||||
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue