feat: Homeassistant

This commit is contained in:
2026-01-08 16:22:24 +01:00
parent 64eedeaac9
commit b300f39c03
3 changed files with 25 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ in
jellyfin.enable = true;
jellyseerr.enable = true;
development.enable = true;
homeassistant.enable = true;
homepage.enable = true;
paperless = {
enable = true;
+1
View File
@@ -5,6 +5,7 @@
./apps
./audiobookshelf
./development
./home-assistant
./hyprland
./zsh
./paperless
@@ -0,0 +1,23 @@
# manages home automations
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.profiles.homeassistant;
in
{
options.my.profiles.homeassistant = with lib; {
enable = mkEnableOption "Home Automation";
};
config = lib.mkIf cfg.enable {
services.homeassistant = {
enable = true;
openFirewall = true;
};
};
}