This commit is contained in:
Xinyang Li 2023-07-30 01:53:14 +08:00
parent a31020a9ea
commit 9c61da8046
2 changed files with 17 additions and 14 deletions

View file

@ -7,11 +7,12 @@
]; ];
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi"; boot.loader.efi.efiSysMountPoint = "/boot";
boot.loader.grub = { boot.loader.grub = {
enable = true; enable = true;
efiSupport = true; efiSupport = true;
} device = "/dev/sda";
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git

View file

@ -1,4 +1,5 @@
networking = { {
networking = {
interfaces = { interfaces = {
eth0.ipv6.addresses = [{ eth0.ipv6.addresses = [{
address = "2a01:4f8:c17:345f::1"; address = "2a01:4f8:c17:345f::1";
@ -10,4 +11,5 @@ networking = {
interface = "eth0"; interface = "eth0";
}; };
nameservers = [ "2a00:1098:2b::1" "2a00:1098:2c::1" "2a01:4f9:c010:3f02::1"]; nameservers = [ "2a00:1098:2b::1" "2a00:1098:2c::1" "2a01:4f9:c010:3f02::1"];
}; };
}