From 2e1cdac6941b9d2c82b4b2a1351f065f705b9211 Mon Sep 17 00:00:00 2001 From: xunuwu Date: Sun, 13 Apr 2025 11:25:58 +0200 Subject: [PATCH] tweak boot configuration on nixdesk --- sys/machines/nixdesk/hardware.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/machines/nixdesk/hardware.nix b/sys/machines/nixdesk/hardware.nix index 5f2d8d9..f5d448a 100644 --- a/sys/machines/nixdesk/hardware.nix +++ b/sys/machines/nixdesk/hardware.nix @@ -15,6 +15,7 @@ boot = { kernelPackages = pkgs.linuxPackages_latest; initrd = { + verbose = false; availableKernelModules = [ "nvme" "xhci_pci" @@ -30,7 +31,7 @@ # rtl88xxau-aircrack # usb wifi card ]; loader = { - timeout = 10; + timeout = 0; systemd-boot = { enable = true; consoleMode = "max"; @@ -42,6 +43,7 @@ efiSysMountPoint = "/boot"; }; }; + tmp.cleanOnBoot = true; }; fileSystems = { @@ -72,8 +74,11 @@ }; boot.resumeDevice = "/dev/disk/by-uuid/d87276c0-ef9c-422e-b2de-effc1b47c654"; - # btrfs inspect-internal map-swapfile -r /.swapvol/swapfile - boot.kernelParams = ["resume_offset=326444288"]; + boot.kernelParams = [ + "nowatchdog" + # btrfs inspect-internal map-swapfile -r /.swapvol/swapfile + "resume_offset=326444288" + ]; swapDevices = lib.singleton { device = "/.swapvol/swapfile";