From 49eb99ed51d99f929629d9f9ca90368159aea1e5 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 1 Oct 2023 22:03:45 +0200 Subject: [PATCH] chonk: drop grub version, add ipv6 --- hosts/chonk/factorio.nix | 1 - hosts/chonk/hardware-configuration.nix | 17 +++++++++++++++-- hosts/chonk/invoiceplane.nix | 2 ++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/hosts/chonk/factorio.nix b/hosts/chonk/factorio.nix index 83d5a59a..be3043a8 100644 --- a/hosts/chonk/factorio.nix +++ b/hosts/chonk/factorio.nix @@ -150,7 +150,6 @@ with pkgs; let sha256 = "VRo2feta/CZGXGHbOwLOWdXZUoiqwlLPne0dC3YPyDA="; }; }; - in rec { services.factorio = { diff --git a/hosts/chonk/hardware-configuration.nix b/hosts/chonk/hardware-configuration.nix index 082976f2..e4875956 100644 --- a/hosts/chonk/hardware-configuration.nix +++ b/hosts/chonk/hardware-configuration.nix @@ -23,7 +23,6 @@ boot.kernelPackages = pkgs.linuxPackages_latest; 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.initrd.luks.devices."cryptroot" = { @@ -84,7 +83,15 @@ }; 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"]; @@ -97,6 +104,12 @@ prefixLength = 29; } ]; + ipv6.addresses = [ + { + address = "2001:4d88:1ffa:26::2"; + prefixLength = 64; + } + ]; }; }; diff --git a/hosts/chonk/invoiceplane.nix b/hosts/chonk/invoiceplane.nix index 4ef757aa..8477b298 100644 --- a/hosts/chonk/invoiceplane.nix +++ b/hosts/chonk/invoiceplane.nix @@ -56,6 +56,8 @@ in { name = "invoiceplane"; }; }; + + system.stateVersion = "22.11"; }; }; }