matt1432
bc6b943b56
All checks were successful
Discord / discord commits (push) Has been skipped
Flake Inputs: • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2025-01-18) rev: f658990328f47530097ab0242a5575cbba92b9ea → 'github:elchininet/custom-sidebar' (2025-01-19) rev: f40e85e4b59b47900b47d9054acfbbce80b60550 • Updated input 'home-manager': 'github:nix-community/home-manager' (2025-01-18) rev: 97d7946b5e107dd03cc82f21165251d4e0159655 → 'github:nix-community/home-manager' (2025-01-19) rev: f8ef4541bb8a54a8b52f19b52912119e689529b3 • Updated input 'hyprgrass': 'github:horriblename/hyprgrass' (2025-01-18) rev: ea3a6079a7e34235ee3df4b600ee11e48b0e7f4d → 'github:horriblename/hyprgrass' (2025-01-19) rev: 563725ad0fd86349616b5f107230a13c12194d18 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2025-01-18) rev: f56153a9c1b0a00fac0932a95e0cfa5a4f6c681f → 'github:hyprwm/Hyprland' (2025-01-19) rev: 407453166ce2a52433c7b0b4ee92a41e47ef8f6d • Updated input 'hyprland/hyprland-protocols': 'github:hyprwm/hyprland-protocols' (2025-01-01) rev: e3b6af97ddcfaafbda8e2828c719a5af84f662cb → 'github:hyprwm/hyprland-protocols' (2025-01-17) rev: 455c055883d9639d4fcbfcedb4c6d12ce313791e • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2025-01-17) rev: 27a0ddac1a14e10ba98530f59db728951495f2ce → 'github:Jovian-Experiments/Jovian-NixOS' (2025-01-19) rev: e26d456e9d9a33f66e1985ab4c06e1940352ef40 • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2025-01-18) rev: b681ff2c9c9163f24ca705d948bb0cee1b3e09f9 → 'github:NixOS/nixpkgs' (2025-01-19) rev: 50165c4f7eb48ce82bd063e1fb8047a0f515f8ce • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2025-01-15) rev: 8f3a889a1bb60d58f42fc671d8a0b73496ede51c → 'github:nix-community/nixpkgs-wayland' (2025-01-19) rev: 47260b4b1459fee2a27a630adf5be5caf0495ac2 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2025-01-19) rev: 15ac106e35d075deb7688b9687d637db9fcb1203 → 'github:make-all/tuya-local' (2025-01-19) rev: 4d4cd82b3e6dcb32201b0441f4e043605d76b39b Docker Images: • 21hsmw/flaresolverr nodriver: sha256:21ade52a9dc85c1bc1592ccc994e41f3365a4603b3ca4a11328583aa6e99ace1 → sha256:3d99be35f845750adba3b9aa23844b7f585eeac6b1b45157bf14aaa8f7d16e20 • ghcr.io/linuxserver/radarr latest: sha256:dce7e81d08da67cf44437c7213d19faeef1323aa839712fbb53d1253ef94f93f → sha256:7a25facfb3e08c9f57cee1ffd995141de80587be1b038bba5fa8611c2355225a
83 lines
1.9 KiB
Nix
83 lines
1.9 KiB
Nix
{
|
|
pkgs,
|
|
self,
|
|
wakewords-src,
|
|
...
|
|
}: {
|
|
imports = [
|
|
self.nixosModules.esphome-plus
|
|
self.nixosModules.wyoming-plus
|
|
];
|
|
|
|
services = {
|
|
home-assistant = {
|
|
package = pkgs.home-assistant.override {
|
|
packageOverrides = final: prev: {
|
|
# HassTimer has way too many collisions with my custom timer sentences
|
|
home-assistant-intents = prev.home-assistant-intents.overrideAttrs (o: {
|
|
nativeBuildInputs = o.nativeBuildInputs ++ [pkgs.findutils];
|
|
postPatch = ''
|
|
find ./. -name "*Timer*" -delete
|
|
find ./. -name "*Start*" -delete
|
|
'';
|
|
});
|
|
};
|
|
};
|
|
|
|
customComponents = builtins.attrValues {
|
|
inherit
|
|
(self.scopedPackages.${pkgs.system}.hass-components)
|
|
extended-ollama-conversation # url is without subdirectory
|
|
ha-fallback-conversation
|
|
tuya-local
|
|
;
|
|
};
|
|
|
|
extraComponents = [
|
|
"esphome"
|
|
"ollama"
|
|
"wyoming"
|
|
"scrape"
|
|
];
|
|
|
|
config = {
|
|
assist_pipeline = {};
|
|
conversation = {};
|
|
media_source = {};
|
|
};
|
|
};
|
|
|
|
wyoming = {
|
|
piper.servers."en" = {
|
|
enable = true;
|
|
uri = "tcp://127.0.0.1:10200";
|
|
|
|
# see https://github.com/rhasspy/rhasspy3/blob/master/programs/tts/piper/script/download.py
|
|
voice = "en_US-hfc_male-medium";
|
|
speaker = 0;
|
|
};
|
|
|
|
openwakeword = {
|
|
enable = true;
|
|
uri = "tcp://127.0.0.1:10400";
|
|
|
|
threshold = 0.55;
|
|
vadThreshold = 0.50;
|
|
|
|
customModelsDirectories = ["${wakewords-src}/en/yo_homie"];
|
|
preloadModels = ["yo_homie"];
|
|
|
|
extraArgs = ["--debug"];
|
|
};
|
|
};
|
|
|
|
esphome = {
|
|
enable = true;
|
|
address = "100.64.0.10";
|
|
port = 6052;
|
|
};
|
|
};
|
|
|
|
# In case tailscale is down
|
|
boot.kernel.sysctl."net.ipv4.ip_nonlocal_bind" = 1;
|
|
}
|