Update configuration.nix

This commit is contained in:
ska
2025-12-26 10:22:10 +00:00
parent 639539823b
commit 20110e0fa6

View File

@@ -11,18 +11,19 @@
############################################################ ############################################################
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi = { boot.loader.efi = {
canTouchEfiVariables = false; canTouchEfiVariables = false;
efiSysMountPoint = "/boot"; efiSysMountPoint = "/boot";
}; };
boot.loader.systemd-boot.configurationLimit = 5;
############################################################ ############################################################
# INITRD - HARDWARE-"AGNOSTIC" + FRAMEBUFFER FALLBACK + LUKS # INITRD - HARDWARE-"AGNOSTIC" + FRAMEBUFFER FALLBACK + LUKS
############################################################ ############################################################
boot.initrd.systemd.enable = true;
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"usb_storage" "usb_storage"
"xhci_hcd" "xhci_hcd"
@@ -40,6 +41,12 @@
"nouveau" "nouveau"
]; ];
boot.initrd.luks.devices.root = {
device = "/dev/disk/by-partlabel/nixos-crypt";
preLVM = true;
allowDiscards = true;
};
boot.kernelModules = []; boot.kernelModules = [];
boot.kernelParams = [ boot.kernelParams = [
@@ -48,13 +55,6 @@
"i8042.nopnp" "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; boot.plymouth.enable = true;
############################################################ ############################################################
@@ -174,16 +174,17 @@
wget wget
openssh openssh
vlc onlyoffice-desktopeditors
obsidian
ungoogled-chromium
libreoffice libreoffice
keepassxc pdfarranger
thunderbird ungoogled-chromium
tor-browser tor-browser
vlc
inkscape inkscape
gimp gimp
pdfarranger obsidian
keepassxc
thunderbird
]; ];
programs.firefox.enable = false; programs.firefox.enable = false;