201 current 2025-10-10 00:48:28 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-10 00:53:51 -05:00
parent af4f75b21b
commit 7093c119cb

View File

@@ -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 {
@@ -50,7 +50,7 @@ in
isSystemUser = true;
#home = cfg.data_dir;
#createHome = true;
#group = "${service}";
group = "${service}";
extraGroups = [ "bluetooth" ];
};
@@ -83,8 +83,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