summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/puyak
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2024-04-24 23:46:57 +0200
committermakefu <github@syntax-fehler.de>2024-04-24 23:46:57 +0200
commit658f5c74a3203f231dde5bd04e24ea3a56547db1 (patch)
tree1540accd1dcc5f0692c3ddd6bbd0dd16b2233ec7 /krebs/1systems/puyak
parentc5a11854c5061895c61d916959d5ff838a19a1bf (diff)
puyak: manage zigbee via home-assistant
Diffstat (limited to 'krebs/1systems/puyak')
-rw-r--r--krebs/1systems/puyak/config.nix3
-rw-r--r--krebs/1systems/puyak/net.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/krebs/1systems/puyak/config.nix b/krebs/1systems/puyak/config.nix
index 60c1c941a..d3c6cbeba 100644
--- a/krebs/1systems/puyak/config.nix
+++ b/krebs/1systems/puyak/config.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
{
imports = [
./net.nix
@@ -170,4 +170,5 @@
isNormalUser = true;
shell = "/run/current-system/sw/bin/zsh";
};
+ system.stateVersion = lib.mkForce "24.05";
}
diff --git a/krebs/1systems/puyak/net.nix b/krebs/1systems/puyak/net.nix
index 59b22b380..fe2fd238e 100644
--- a/krebs/1systems/puyak/net.nix
+++ b/krebs/1systems/puyak/net.nix
@@ -14,7 +14,7 @@ in {
interfaces."${ext-if}".ipv4.addresses = [
{
address = shack-ip;
- prefixLength = 22;
+ prefixLength = 20;
}
];