From 22bc76a0fc5eda6735fe7711a8afc330fe44e5ca Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 15 Jul 2025 10:42:32 +0000 Subject: [PATCH] Add smini nix config with modularised config --- rpi-nixos/configuration.nix | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/nixos/configuration.nix b/rpi-nixos/configuration.nix similarity index 87% rename from nixos/configuration.nix rename to rpi-nixos/configuration.nix index 49d0a8b..d188b2b 100644 --- a/nixos/configuration.nix +++ b/rpi-nixos/configuration.nix @@ -14,8 +14,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.supportedFilesystems = [ "zfs" ]; - boot.zfs.forceImportRoot = false; + boot.supportedFilesystems = [ "bcachefs" ]; networking.hostId = "31f59926"; networking.hostName = "wipi"; # Define your hostname. @@ -77,7 +76,6 @@ neofetch git gnumake - zfs tmux htop ]; @@ -124,6 +122,26 @@ syntaxHighlighting.enable = true; }; + services.home-assistant = { + enable = true; + extraComponents = [ + # Components required to complete the onboarding + "analytics" + "google_translate" + "met" + "radio_browser" + "shopping_list" + # Recommended for fast zlib compression + # https://www.home-assistant.io/integrations/isal + "isal" + ]; + config = { + # Includes dependencies for a basic setup + # https://www.home-assistant.io/integrations/default_config/ + default_config = {}; + }; + }; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; -- Gitblit v1.10.0