From 99bcd3f7979363dd17dd78c6ce9eda84267a7f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 8 Apr 2025 10:33:48 +0200 Subject: [PATCH] installation: use networkd everywhere --- checks/installation-without-system/flake-module.nix | 2 ++ checks/installation/flake-module.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/checks/installation-without-system/flake-module.nix b/checks/installation-without-system/flake-module.nix index ac6e8d7e6..d18a2a128 100644 --- a/checks/installation-without-system/flake-module.nix +++ b/checks/installation-without-system/flake-module.nix @@ -164,6 +164,7 @@ imports = [ (modulesPath + "/../tests/common/auto-format-root-device.nix") ]; + networking.useNetworkd = true; services.openssh.enable = true; system.nixos.variant_id = "installer"; environment.systemPackages = [ pkgs.nixos-facter ]; @@ -192,6 +193,7 @@ system.extraDependencies = dependencies; }; nodes.client = { + networking.useNetworkd = true; environment.systemPackages = [ self.packages.${pkgs.system}.clan-cli ] ++ self.packages.${pkgs.system}.clan-cli.runtimeDependencies; diff --git a/checks/installation/flake-module.nix b/checks/installation/flake-module.nix index 4c0601fda..167266876 100644 --- a/checks/installation/flake-module.nix +++ b/checks/installation/flake-module.nix @@ -20,6 +20,7 @@ (modulesPath + "/profiles/qemu-guest.nix") ../lib/minify.nix ]; + networking.useNetworkd = true; environment.etc."install-successful".text = "ok"; @@ -140,6 +141,7 @@ imports = [ (modulesPath + "/../tests/common/auto-format-root-device.nix") ]; + networking.useNetworkd = true; services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keyFiles = [ ../lib/ssh/pubkey ]; system.nixos.variant_id = "installer"; @@ -163,6 +165,7 @@ system.extraDependencies = dependencies; }; nodes.client = { + networking.useNetworkd = true; environment.systemPackages = [ self.packages.${pkgs.system}.clan-cli ] ++ self.packages.${pkgs.system}.clan-cli.runtimeDependencies;