This commit is contained in:
2026-01-21 16:30:18 -06:00
parent 69d16e38a8
commit 514e4864ca
5 changed files with 14 additions and 50 deletions

View File

@@ -93,7 +93,6 @@
netbird.enable = true;
openwebui.enable = true;
homeassistant.enable = true;
wyoming = {
enable = false;

View File

@@ -68,10 +68,6 @@
wyoming = {
enable = mkDefault false;
};
homeassistant = {
enable = mkDefault false;
};
};
};

View File

@@ -1,43 +0,0 @@
{ 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";
};
};
};
}

View File

@@ -1,6 +1,6 @@
{ config, lib, ... }: {
options.sysconfig.virtualization.enable = with lib; mkOption {
options.sysconfig.virtual-machines.enable = with lib; mkOption {
type = with types; bool;
default = false;
};
@@ -12,7 +12,7 @@
(builtins.attrNames dir)
);
config = lib.mkIf config.sysconfig.virtualisation.enable {
config = lib.mkIf config.sysconfig.virtual-machines.enable {
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;

View File

@@ -0,0 +1,12 @@
{ config, lib, ... }: {
options.sysconfig.virtual-machines.home-assistant = {
enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.sysconfig.virtual-machines.home-assistant.enable {
};
}