Merge branch 'homeassistant' into 'master'

Homeassistant

See merge request finn.markwitz/nixos!11
This commit is contained in:
2026-04-20 14:08:40 +00:00
3 changed files with 31 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ in
jellyfin.enable = true; jellyfin.enable = true;
jellyseerr.enable = true; jellyseerr.enable = true;
development.enable = true; development.enable = true;
home-assistant.enable = true;
homepage.enable = true; homepage.enable = true;
paperless = { paperless = {
enable = true; enable = true;
+1
View File
@@ -5,6 +5,7 @@
./apps ./apps
./audiobookshelf ./audiobookshelf
./development ./development
./home-assistant
./hyprland ./hyprland
./zsh ./zsh
./paperless ./paperless
@@ -0,0 +1,29 @@
# manages home automations
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.profiles.home-assistant;
in
{
options.my.profiles.home-assistant = with lib; {
enable = mkEnableOption "Home Automation";
};
config = lib.mkIf cfg.enable {
services.home-assistant = {
enable = true;
openFirewall = true;
};
services.home-assistant.config = {
name = "Home - Rechberg";
unit_system = "metric";
};
};
}