From a29978c95aa687084dd78eac865c51eba44554ec Mon Sep 17 00:00:00 2001
From: clerie <git@clerie.de>
Date: Thu, 20 Mar 2025 19:44:35 +0100
Subject: [PATCH] hosts/astatine: Migrate to systemd-network

---
 hosts/aluminium/configuration.nix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hosts/aluminium/configuration.nix b/hosts/aluminium/configuration.nix
index 6651cfd..87d0aa0 100644
--- a/hosts/aluminium/configuration.nix
+++ b/hosts/aluminium/configuration.nix
@@ -18,7 +18,10 @@
     terminal_output serial
   ";
 
-  services.wg-clerie = {
+  networking.useDHCP = false;
+  systemd.network.enable = true;
+
+  profiles.clerie.wg-clerie = {
     enable = true;
     ipv6s = [ "2a01:4f8:c0c:15f1::8106/128" ];
     ipv4s = [ "10.20.30.106/32" ];