Compare commits
6 commits
b5cfb308a6
...
2ae5b21896
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ae5b21896 | |||
| bbea19c43a | |||
| e00ed1e7c4 | |||
| e5051cc64c | |||
| aa5eacff73 | |||
| 28fcd249bf |
3 changed files with 29 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: native
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
# - uses: https://github.com/cachix/cachix-action@v15
|
# - uses: https://github.com/cachix/cachix-action@v15
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ in
|
||||||
imports = [
|
imports = [
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
../../hardware/base.nix
|
../../hardware/base.nix
|
||||||
|
../../hardware/bluetooth.nix
|
||||||
../../desktop/x11.nix
|
../../desktop/x11.nix
|
||||||
../../system/server.nix
|
../../system/server.nix
|
||||||
../../virtualisation/containers.nix
|
../../virtualisation/containers.nix
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,14 @@ in
|
||||||
# HACS
|
# HACS
|
||||||
aiogithubapi
|
aiogithubapi
|
||||||
];
|
];
|
||||||
|
customComponents = with pkgs.unstable.home-assistant-custom-components; [
|
||||||
|
alarmo
|
||||||
|
adaptive_lighting
|
||||||
|
ingress
|
||||||
|
];
|
||||||
|
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
|
||||||
|
auto-entities
|
||||||
|
];
|
||||||
config = {
|
config = {
|
||||||
homeassistant = {
|
homeassistant = {
|
||||||
name = "Home";
|
name = "Home";
|
||||||
|
|
@ -118,12 +126,30 @@ in
|
||||||
conversation = {
|
conversation = {
|
||||||
intents = { };
|
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
|
# configWritable = true; # doesn't work atm
|
||||||
};
|
};
|
||||||
|
|
||||||
services.matter-server = {
|
services.matter-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extraArgs = [
|
||||||
|
"--storage-path=/var/lib/matter-server"
|
||||||
|
"--bluetooth-adapter=0"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openthread-border-router = {
|
services.openthread-border-router = {
|
||||||
|
|
@ -135,8 +161,7 @@ in
|
||||||
extraDevices = [ "trel://enp2s0" ];
|
extraDevices = [ "trel://enp2s0" ];
|
||||||
};
|
};
|
||||||
backboneInterface = "enp2s0";
|
backboneInterface = "enp2s0";
|
||||||
rest.listenPort = 58081;
|
web.enable = true;
|
||||||
web.listenPort = 58082;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# systemd-resolved is already providing mDNS, but avahi seems to be required for otbr
|
# systemd-resolved is already providing mDNS, but avahi seems to be required for otbr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue