devices.vps4: enable znver2 optimization

This commit is contained in:
陈浩南 2024-07-04 13:24:38 +08:00
parent 9b5ccd0747
commit 1c1793dd62

View File

@ -26,7 +26,7 @@ inputs:
rollingRootfs = {};
};
grub.installDevice = "/dev/disk/by-path/pci-0000:00:04.0";
# nixpkgs.march = "znver2";
nixpkgs.march = "znver2";
nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ];
initrd.sshd.enable = true;
networking = { hostname = "vps4"; networkd = {}; };