From ce0633b8f258a2d5d92c066898b2b3b097043f80 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Thu, 7 Nov 2024 15:04:44 +0800 Subject: [PATCH] fixup! fixup! dolomite: add hk-00 node --- machines/dolomite/claw.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/machines/dolomite/claw.nix b/machines/dolomite/claw.nix index 991399c..b8cf692 100644 --- a/machines/dolomite/claw.nix +++ b/machines/dolomite/claw.nix @@ -16,7 +16,7 @@ in isClaw = lib.mkEnableOption "Lightsail instance"; }; - config = lib.mkIf cfg.isClaw { + config = lib.mkIf cfg { boot.initrd.availableKernelModules = [ "uhci_hcd" "virtio_blk" @@ -45,7 +45,9 @@ in # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useNetworkd = true; + # networking.useNetworkd = false; + + systemd.network.enable = true; systemd.network.networks."10-wan" = { matchConfig.MACAddress = "00:16:3e:0a:ec:45"; networkConfig.DHCP = "ipv4";