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