fix: set correct owner for ha data

This commit is contained in:
Jan-Bulthuis committed 2026-10-23 03:04:59 +02:00
1 parent 1c32aadd7f
commit 0cda6585df
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -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 -"
+1 -1
View File
@@ -8,7 +8,7 @@ in
options.modules.impermanence = {
enable = mkEnableOption "Impermanence";
directories = mkOption {
type = types.listOf types.str;
type = types.listOf (types.either types.str types.attrs);
default = [ ];
description = ''
Directories that should be stored in persistent storage.