devices.vps6: switch to networkd

This commit is contained in:
陈浩南 2024-03-21 15:42:14 +08:00
parent 2042904cca
commit f8cb743b60

View File

@ -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 =