Fix BTCPay startup regression: add home dirs to service users

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-08-11 03:12:27 +00:00
committed by GitHub
co-authored by naturallaw777
parent a7b149f58a
commit 1b6b1ade46
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -196,6 +196,7 @@ in {
users.users.${cfg.nbxplorer.user} = {
isSystemUser = true;
group = cfg.nbxplorer.group;
home = cfg.nbxplorer.dataDir;
};
users.groups.${cfg.nbxplorer.group} = {};
})
@@ -295,6 +296,7 @@ in {
users.users.${cfg.btcpayserver.user} = {
isSystemUser = true;
group = cfg.btcpayserver.group;
home = cfg.btcpayserver.dataDir;
extraGroups = optional (cfg.btcpayserver.lightningBackend == "lnd") config.services.lnd.group;
};
users.groups.${cfg.btcpayserver.group} = {};