chonk: drop grub version, add ipv6

This commit is contained in:
Hendrik Sokolowski 2023-10-01 22:03:45 +02:00
parent 42dc259691
commit 49eb99ed51
3 changed files with 17 additions and 3 deletions

View file

@ -150,7 +150,6 @@ with pkgs; let
sha256 = "VRo2feta/CZGXGHbOwLOWdXZUoiqwlLPne0dC3YPyDA="; sha256 = "VRo2feta/CZGXGHbOwLOWdXZUoiqwlLPne0dC3YPyDA=";
}; };
}; };
in rec in rec
{ {
services.factorio = { services.factorio = {

View file

@ -23,7 +23,6 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_03025429121421051300-0:0"; boot.loader.grub.device = "/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_03025429121421051300-0:0";
boot.initrd.luks.devices."cryptroot" = { boot.initrd.luks.devices."cryptroot" = {
@ -84,7 +83,15 @@
}; };
networking = { networking = {
defaultGateway = "80.244.242.1"; defaultGateway = {
address = "80.244.242.1";
interface = "br0";
};
defaultGateway6 = {
address = "2001:4d88:1ffa:26::1";
interface = "br0";
};
nameservers = ["95.129.51.51" "80.244.244.244"]; nameservers = ["95.129.51.51" "80.244.244.244"];
@ -97,6 +104,12 @@
prefixLength = 29; prefixLength = 29;
} }
]; ];
ipv6.addresses = [
{
address = "2001:4d88:1ffa:26::2";
prefixLength = 64;
}
];
}; };
}; };

View file

@ -56,6 +56,8 @@ in {
name = "invoiceplane"; name = "invoiceplane";
}; };
}; };
system.stateVersion = "22.11";
}; };
}; };
} }