From 67108c0d4130c84d2daafd1be980b449c45b5e9a Mon Sep 17 00:00:00 2001 From: arcnmx Date: Sat, 31 Aug 2024 15:03:00 -0700 Subject: [PATCH] feat(hass): moonraker --- nixos/home-assistant.nix | 4 ++++ nixos/moonraker.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/nixos/home-assistant.nix b/nixos/home-assistant.nix index 50253695..f4f56126 100644 --- a/nixos/home-assistant.nix +++ b/nixos/home-assistant.nix @@ -1,4 +1,5 @@ { + pkgs, config, access, gensokyo-zone, @@ -186,6 +187,9 @@ in { "withings" "wled" ]; + customComponents = [ + pkgs.home-assistant-custom-components.moonraker + ]; }; systemd.services.home-assistant = mkIf cfg.enable { gensokyo-zone.sharedMounts.hass.path = mkDefault cfg.configDir; diff --git a/nixos/moonraker.nix b/nixos/moonraker.nix index ec98bbb5..d0bb197b 100644 --- a/nixos/moonraker.nix +++ b/nixos/moonraker.nix @@ -48,6 +48,10 @@ # XXX: only safe when protected behind vouch! ++ [ "0.0.0.0/0" "::/0" ]; }; + machine = { + # disable all machine control + provider = "none"; + }; }; }; };