fix: g18-next ok

This commit is contained in:
2024-06-18 00:29:22 +08:00
parent 21cda95000
commit 94ccff2d72
4 changed files with 15 additions and 6 deletions

View File

@@ -16,12 +16,16 @@
nginx.enableCodeServer = false;
nvidia.enable = false;
};
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
networking.hostName = lib.mkForce "g18-next";
networking.hostId = "11f1fad0";
systemd.network.networks."10-veth0" = {
matchConfig.Name = "enp1s0";
networkConfig = {
DHCP = "yes";
DHCP = "no";
IPv6AcceptRA = true;
};
address = [ "192.168.122.118/24" ];

View File

@@ -24,6 +24,11 @@
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/data0" =
{ device = "192.168.122.1:/data0";
fsType = "nfs";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/ba441743-a8b0-4f0c-af9c-294ca4526350"; }
];