extract operator module

This commit is contained in:
Erik Arvstedt
2020-10-16 16:46:55 +02:00
parent 2dd1a741f7
commit 9aa19c3fdd
11 changed files with 73 additions and 33 deletions
+1
View File
@@ -99,6 +99,7 @@ in {
extraGroups = [ "bitcoinrpc" ];
};
users.groups.${cfg.group} = {};
nix-bitcoin.operator.groups = [ cfg.group ];
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -"