From 20110e0fa6a50b7230d651f2d5b522b54a1d224c Mon Sep 17 00:00:00 2001 From: ska Date: Fri, 26 Dec 2025 10:22:10 +0000 Subject: [PATCH] Update configuration.nix --- configuration.nix | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/configuration.nix b/configuration.nix index 967f6b6..00a9d8f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,18 +11,19 @@ ############################################################ boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.configurationLimit = 5; boot.loader.efi = { canTouchEfiVariables = false; efiSysMountPoint = "/boot"; }; - boot.loader.systemd-boot.configurationLimit = 5; - ############################################################ # INITRD - HARDWARE-"AGNOSTIC" + FRAMEBUFFER FALLBACK + LUKS ############################################################ + boot.initrd.systemd.enable = true; + boot.initrd.availableKernelModules = [ "usb_storage" "xhci_hcd" @@ -40,6 +41,12 @@ "nouveau" ]; + boot.initrd.luks.devices.root = { + device = "/dev/disk/by-partlabel/nixos-crypt"; + preLVM = true; + allowDiscards = true; + }; + boot.kernelModules = []; boot.kernelParams = [ @@ -48,13 +55,6 @@ "i8042.nopnp" ]; - boot.initrd.luks.devices.root = { - device = "/dev/disk/by-partlabel/nixos-crypt"; - preLVM = true; - allowDiscards = true; - }; - - boot.initrd.systemd.enable = true; boot.plymouth.enable = true; ############################################################ @@ -174,16 +174,17 @@ wget openssh - vlc - obsidian - ungoogled-chromium + onlyoffice-desktopeditors libreoffice - keepassxc - thunderbird + pdfarranger + ungoogled-chromium tor-browser + vlc inkscape gimp - pdfarranger + obsidian + keepassxc + thunderbird ]; programs.firefox.enable = false;