lnd, nanopos: move user and group definitions to the bottom

This is the default service formatting style in nixpkgs.
This commit is contained in:
Erik Arvstedt
2020-01-13 00:25:11 +01:00
parent 766fa4f300
commit 314272a228
2 changed files with 12 additions and 14 deletions
+5 -6
View File
@@ -52,12 +52,6 @@ in {
};
config = mkIf cfg.enable {
users.users.nanopos = {
description = "nanopos User";
group = "nanopos";
};
users.groups.nanopos = {};
systemd.services.nanopos = {
description = "Run nanopos";
wantedBy = [ "multi-user.target" ];
@@ -74,5 +68,10 @@ in {
// nix-bitcoin-services.nodejs
// nix-bitcoin-services.allowTor;
};
users.users.nanopos = {
description = "nanopos User";
group = "nanopos";
};
users.groups.nanopos = {};
};
}