Files
Olympus/system/virtualization/containers/homeassistant/default.nix
2026-01-21 09:42:51 -06:00

44 lines
1.0 KiB
Nix

{ config, lib, ... }: {
options.sysconfig.containers.homeassistant = {
enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.sysconfig.containers.homeassistant.enable {
containers.home-assistant = {
autoStart = true;
privateNetwork = true;
hostAddress = "192.168.100.10";
localAddress = "192.168.100.25";
config = {
services.home-assistant = {
enable = true;
openFirewall = true;
extraComponents = [
"wyoming"
"ollama"
];
config = {
homeassistant.unit_system = "us_customary";
};
configWritable = true;
};
system.stateVersion = "25.05";
};
};
};
}