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
+4
View File
@@ -125,6 +125,10 @@ in {
home = cfg.dataDir;
};
users.groups.${cfg.group} = {};
nix-bitcoin.operator = {
groups = [ cfg.group ];
sudoUsers = [ cfg.group ];
};
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -"