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]andnaturallaw777 authored and GitHub committed 2026-08-11 03:12:27 +00:00
1 parent a7b149f58a
commit 1b6b1ade46
2 files changed
+8

No files matched your search

+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} = {};