diff --git a/system/kernighan/services/home_assistant.nix b/system/kernighan/services/home_assistant.nix index 07a5297..fcb905d 100644 --- a/system/kernighan/services/home_assistant.nix +++ b/system/kernighan/services/home_assistant.nix @@ -1,15 +1,16 @@ { config, pkgs, inputs, ... }: { - services.home-assistant = { - enable = true; - extraComponents = [ - "esphome" - "met" - "radio_browser" - ]; - config = { - default_config = {}; + virtualisation.oci-containers = { + backend = "podman"; + containers.homeassistant = { + volumes = [ "home-assistant:/config" ]; + environment.TZ = "Europe/Berlin"; + image = "ghcr.io/home-assistant/home-assistant:stable"; + extraOptions = [ + "--network=host" + "--device=/dev/ttyUSB0:/dev/ttyUSB0" + ]; }; }; } diff --git a/system/ritchie/ritchie.nix b/system/ritchie/ritchie.nix index 3121a0e..030ea5b 100644 --- a/system/ritchie/ritchie.nix +++ b/system/ritchie/ritchie.nix @@ -24,8 +24,7 @@ in networking = { hostName = "ritchie"; firewall = { - enable = true; - allowedTCPPorts = [ 2222 ]; + enable = false; }; }; users.users.foxsoft = { diff --git a/users/tsv/packages.nix b/users/tsv/packages.nix index 11f0cff..8983782 100644 --- a/users/tsv/packages.nix +++ b/users/tsv/packages.nix @@ -56,9 +56,11 @@ rubyPackages_3_1.dip rubyPackages_3_1.solargraph rofi-wayland + sshfs smartmontools # HDD health spotify termpdfpy + texlive.combined.scheme-small thunderbird timg toot