devices.vps7: switch to networkd

This commit is contained in:
陈浩南 2024-03-21 15:43:19 +08:00
parent f8cb743b60
commit 82b13e7574

View File

@ -29,7 +29,7 @@ inputs:
nixpkgs.march = "broadwell"; nixpkgs.march = "broadwell";
nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ]; nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ];
initrd.sshd.enable = true; initrd.sshd.enable = true;
networking.hostname = "vps7"; networking = { hostname = "vps7"; networkd.dhcp = [ "ens18" ]; };
gui.preferred = false; gui.preferred = false;
}; };
packages.packageSet = "desktop"; packages.packageSet = "desktop";