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 =