modules: use user & group options

I've tried my best to locate all uses of hardcoded usernames, but its
not guaranteed that all have been found/fixed.
This commit is contained in:
nixbitcoin 2021-02-16 16:52:45 +00:00
parent ccef870b74
commit e873326bfe
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
7 changed files with 16 additions and 16 deletions

View file

@ -252,6 +252,6 @@ in {
users.groups.${cfg.group} = {};
nix-bitcoin.operator.groups = [ cfg.group ];
nix-bitcoin.secrets.liquid-rpcpassword.user = "liquid";
nix-bitcoin.secrets.liquid-rpcpassword.user = cfg.user;
};
}