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