Compare commits

..

No commits in common. "2ae5b21896ed31f9c615f402767005a1eda91df0" and "b5cfb308a627be20373e83b52585765c5f474b8b" have entirely different histories.

3 changed files with 3 additions and 29 deletions

View file

@ -8,7 +8,7 @@ env:
jobs:
tests:
runs-on: ubuntu-latest
runs-on: native
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
# - uses: https://github.com/cachix/cachix-action@v15

View file

@ -20,7 +20,6 @@ in
imports = [
./disk-config.nix
../../hardware/base.nix
../../hardware/bluetooth.nix
../../desktop/x11.nix
../../system/server.nix
../../virtualisation/containers.nix

View file

@ -76,14 +76,6 @@ in
# HACS
aiogithubapi
];
customComponents = with pkgs.unstable.home-assistant-custom-components; [
alarmo
adaptive_lighting
ingress
];
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
auto-entities
];
config = {
homeassistant = {
name = "Home";
@ -126,30 +118,12 @@ in
conversation = {
intents = { };
};
ingress = {
"matter" = {
title = "Matter Server";
icon = "mdi:home-automation";
ui_mode = "toolbar";
url = "http://127.0.0.1:${toString config.services.matter-server.port}/";
};
"otbr" = {
title = "OpenThread Border Router";
icon = "mdi:home-automation";
ui_mode = "toolbar";
url = "http://127.0.0.1:${toString config.services.openthread-border-router.web.listenPort}/";
};
};
};
# configWritable = true; # doesn't work atm
};
services.matter-server = {
enable = true;
extraArgs = [
"--storage-path=/var/lib/matter-server"
"--bluetooth-adapter=0"
];
};
services.openthread-border-router = {
@ -161,7 +135,8 @@ in
extraDevices = [ "trel://enp2s0" ];
};
backboneInterface = "enp2s0";
web.enable = true;
rest.listenPort = 58081;
web.listenPort = 58082;
};
# systemd-resolved is already providing mDNS, but avahi seems to be required for otbr