From f8cb743b601525f22e3019d2990bf61cdee91f89 Mon Sep 17 00:00:00 2001 From: chn Date: Thu, 21 Mar 2024 15:42:14 +0800 Subject: [PATCH] devices.vps6: switch to networkd --- devices/vps6/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/vps6/default.nix b/devices/vps6/default.nix index de2ca0db..55c7c511 100644 --- a/devices/vps6/default.nix +++ b/devices/vps6/default.nix @@ -29,7 +29,7 @@ inputs: nixpkgs.march = "sandybridge"; nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ]; initrd.sshd.enable = true; - networking.hostname = "vps6"; + networking = { hostname = "vps6"; networkd.dhcp = [ "ens18" ]; }; }; packages.packageSet = "server"; services =