summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-28 20:39:12 +0100
committerlassulus <lassulus@lassul.us>2022-12-28 20:39:12 +0100
commit4ca3c828984c1ebe73fa6145592d1a5293e30ae8 (patch)
treebbecfcfe2cfe19ec800f01aceec7257eded994cf /lass/2configs
parent5c6815ff41d04a460e5e35cf34639fb34185e65f (diff)
l retiolum: use networkd
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/retiolum.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix
index b8c9d4f8d..746bc069d 100644
--- a/lass/2configs/retiolum.nix
+++ b/lass/2configs/retiolum.nix
@@ -27,6 +27,15 @@
LocalDiscovery = no
''}
'';
+ tincUp = lib.mkIf config.systemd.network.enable "";
+ };
+
+ systemd.network.networks.retiolum = {
+ matchConfig.Name = "retiolum";
+ address = [
+ "${config.krebs.build.host.nets.retiolum.ip4.addr}/16"
+ "${config.krebs.build.host.nets.retiolum.ip6.addr}/16"
+ ];
};
nixpkgs.config.packageOverrides = pkgs: {