From 83612a7f87d4d775eba2c03f0e830ff52c9cb0c8 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 10 Oct 2025 23:08:05 -0500 Subject: [PATCH] 247 current 2025-10-10 23:01:56 25.05.20251006.20c4598 6.12.50 * --- .../smarthome/homeassistant/default.nix | 43 +++++++++---------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/modules/homelab/services/smarthome/homeassistant/default.nix b/modules/homelab/services/smarthome/homeassistant/default.nix index fa28eec..2e6daab 100644 --- a/modules/homelab/services/smarthome/homeassistant/default.nix +++ b/modules/homelab/services/smarthome/homeassistant/default.nix @@ -41,18 +41,18 @@ in config = lib.mkIf cfg.enable { # declare ${service} group - users.groups.hass = { gid = lib.mkForce cfg.ids; }; +# users.groups.hass = { gid = lib.mkForce cfg.ids; }; # declare ${service} user - users.users.hass = { - description = "${service} server user"; - uid = lib.mkForce cfg.ids; - isSystemUser = true; - #home = cfg.data_dir; - #createHome = true; - group = "hass"; - extraGroups = [ "bluetooth" ]; - }; + # users.users.hass = { + # description = "${service} server user"; + # uid = lib.mkForce cfg.ids; + # isSystemUser = true; + # #home = cfg.data_dir; + # #createHome = true; + # group = "hass"; + # extraGroups = [ "bluetooth" ]; + # }; # enable the ${service} service services.${service} = { @@ -65,27 +65,26 @@ in "met" "radio_browser" "shopping_list" - # zlib "isal" ]; # imperative config -# config = null; -# lovelaceConfig = null; + config = null; + lovelaceConfig = null; # configDir = cfg.data_dir; # declartive poggers! - config = { - # Includes dependencies for a basic setup - default_config = {}; - }; +# config = { +# # Includes dependencies for a basic setup +# default_config = {}; +# }; }; # override umask to make permissions work out - systemd.services.${service}.serviceConfig = { - UMask = lib.mkForce "0007"; - User = lib.mkForce "hass"; - Group = lib.mkForce "hass"; - }; +# systemd.services.${service}.serviceConfig = { +# UMask = lib.mkForce "0007"; +# User = lib.mkForce "hass"; +# Group = lib.mkForce "hass"; +# }; # # open firewall networking.firewall.allowedTCPPorts = [ cfg.port 8123 ];