196 current 2025-10-09 23:45:38 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -23,7 +23,7 @@ in
|
||||
};
|
||||
data_dir = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "/var/lib/${service}";
|
||||
default = "/var/lib/hass";
|
||||
description = "set data directory for ${service}";
|
||||
};
|
||||
ids = lib.mkOption {
|
||||
@@ -77,8 +77,8 @@ in
|
||||
# override umask to make permissions work out
|
||||
systemd.services.${service}.serviceConfig = {
|
||||
UMask = lib.mkForce "0007";
|
||||
User = lib.mkForce "${service}";
|
||||
Group = lib.mkForce "${service}";
|
||||
# User = lib.mkForce "${service}";
|
||||
# Group = lib.mkForce "${service}";
|
||||
};
|
||||
|
||||
# # open firewall
|
||||
|
||||
Reference in New Issue
Block a user