diff --git a/hosts/ws-home/configuration.nix b/hosts/ws-home/configuration.nix index ed00680..58a1fd3 100644 --- a/hosts/ws-home/configuration.nix +++ b/hosts/ws-home/configuration.nix @@ -22,7 +22,12 @@ }; modules.impermanence.directories = [ "/var/lib/private/matterjs-server" - "/var/lib/hass" + { + directory = "/var/lib/hass"; + user = "hass"; + group = "hass"; + mode = "0700"; + } ]; systemd.tmpfiles.rules = [ "d /var/lib/private 0700 root root -"