From 735fa9d2d663f4b9aebb8c0080908f0587ea22fe Mon Sep 17 00:00:00 2001 From: uku Date: Mon, 6 May 2024 12:02:21 +0200 Subject: [PATCH] fix(etna): switch back to kernel 6.1 it seems that there is a regression in the network driver in 6.6+, so can't really use that right now, otherwise the whole pc freezes when reconnecting to the internet --- systems/etna/default.nix | 5 ++++- systems/etna/hardware-configuration.nix | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/systems/etna/default.nix b/systems/etna/default.nix index 0db80bc..3814731 100644 --- a/systems/etna/default.nix +++ b/systems/etna/default.nix @@ -32,7 +32,10 @@ in { }; }; - boot.loader.systemd-boot.enable = true; + boot = { + loader.systemd-boot.enable = true; + kernelPackages = pkgs.linuxPackages_6_1; + }; services = { openssh.openFirewall = true; diff --git a/systems/etna/hardware-configuration.nix b/systems/etna/hardware-configuration.nix index a1b36f5..bfbe08d 100644 --- a/systems/etna/hardware-configuration.nix +++ b/systems/etna/hardware-configuration.nix @@ -25,6 +25,7 @@ fileSystems."/boot" = { device = "/dev/disk/by-uuid/FBB1-A79D"; fsType = "vfat"; + options = ["fmask=0022" "dmask=0022"]; }; fileSystems."/data" = { @@ -32,7 +33,9 @@ fsType = "ext4"; }; - swapDevices = []; + swapDevices = [ + {device = "/dev/disk/by-uuid/4982538e-5402-44c0-86c6-bf086c856615";} + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's