🎨 nixpkgs-fmt

This commit is contained in:
2022-05-06 20:01:04 -04:00
parent be14e0698c
commit ea5ba53e3c
9 changed files with 187 additions and 164 deletions

View File

@ -10,7 +10,8 @@ let
(optionalString (cfg.initPeers != [ ]) "--peers")
(lib.strings.concatStringsSep "," cfg.initPeers)
];
in {
in
{
###### interface
@ -97,9 +98,9 @@ in {
RemainAfterExit = true;
User = cfg.user;
Group = cfg.group;
} // optionalAttrs (cfg.secretFile != null) {
EnvironmentFile = cfg.secretFile;
};
} // optionalAttrs (cfg.secretFile != null) {
EnvironmentFile = cfg.secretFile;
};
unitConfig.ConditionDirectoryNotEmpty = "!${cfg.dataDir}";
};