From 8706157c92a84ef2f242854487b8ee3ab77ddadc Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Tue, 10 Jun 2025 19:56:17 +0200 Subject: [PATCH] Home: Apply systemd-networkd to network module renaming --- home/christoph/default.nix | 3 +++ system/default.nix | 2 +- system/nixinator/default.nix | 2 +- system/nixtop/default.nix | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/home/christoph/default.nix b/home/christoph/default.nix index 17ad1c3d..36535d0d 100644 --- a/home/christoph/default.nix +++ b/home/christoph/default.nix @@ -331,6 +331,9 @@ rec { cifs-utils # Mount samba shares nfs-utils # Mount NFS shares sshfs # Mount remote directories via SSH + + protonvpn-gui + protonmail-bridge-gui protonvpn-cli_2 # TODO: Not compatible with systemd-networkd? protonmail-bridge # TODO: Enable on startup, email module diff --git a/system/default.nix b/system/default.nix index 7e383ad6..3ac45aa5 100644 --- a/system/default.nix +++ b/system/default.nix @@ -25,7 +25,7 @@ with mylib.networking; { modules = { polkit.enable = true; - systemd-networkd = { + network = { inherit hostname; enable = true; diff --git a/system/nixinator/default.nix b/system/nixinator/default.nix index 618e269d..678fba13 100644 --- a/system/nixinator/default.nix +++ b/system/nixinator/default.nix @@ -11,7 +11,7 @@ ]; modules = { - systemd-networkd = { + network = { networks = { # This should override the default network 50-ether "10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork { diff --git a/system/nixtop/default.nix b/system/nixtop/default.nix index 324dccf9..9f003837 100644 --- a/system/nixtop/default.nix +++ b/system/nixtop/default.nix @@ -6,7 +6,7 @@ ]; modules = { - systemd-networkd = { + network = { wireguard-tunnels = { wg0-de-74 = mylib.networking.mkWireguardService