hass remote db

This commit is contained in:
mjallen18
2025-10-27 17:14:29 -05:00
parent 840f3c9120
commit 97560f1bc9
2 changed files with 3 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ in
port = 5580;
};
postgresql = {
enable = true;
enable = false;
ensureDatabases = [ "hass" ];
ensureUsers = [
{

View File

@@ -390,7 +390,8 @@ in
};
recorder = {
db_url = "postgresql://@/hass";
# db_url = "postgresql://@/hass"; # local DB
db_url = "postgresql://homeassistant@10.0.1.3/homeassistant";
purge_keep_days = 180;
};