desktop: update pc to use btrfs, linux latest

This commit is contained in:
CaZzzer committed 2026-11-16 10:16:56 -08:00
1 parent 3af9b024ef
commit 27a08f9942
4 files changed
+17 -5

No files matched your search

+2
View File
@@ -12,6 +12,8 @@
]; ];
opts.kb-input.enable = true; opts.kb-input.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
# Bootloader. # Bootloader.
boot.kernelParams = [ boot.kernelParams = [
"amd_iommu=on" "amd_iommu=on"
+13 -4
View File
@@ -14,13 +14,22 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "zroot/ROOT/nixos/default"; { device = "/dev/mapper/luks-c5df5b80-fad5-4b61-ba51-a14783c0be59";
fsType = "zfs"; fsType = "btrfs";
};
boot.initrd.luks.devices."luks-c5df5b80-fad5-4b61-ba51-a14783c0be59".device = "/dev/disk/by-uuid/c5df5b80-fad5-4b61-ba51-a14783c0be59";
fileSystems."/home" =
{ device = "/dev/mapper/luks-c5df5b80-fad5-4b61-ba51-a14783c0be59";
fsType = "btrfs";
options = [ "subvol=home" ];
}; };
fileSystems."/nix" = fileSystems."/nix" =
{ device = "zroot/data/nix"; { device = "/dev/mapper/luks-c5df5b80-fad5-4b61-ba51-a14783c0be59";
fsType = "zfs"; fsType = "btrfs";
options = [ "subvol=nix" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =
+2
View File
@@ -6,6 +6,8 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages;
# Bootloader. # Bootloader.
boot.kernelParams = [ boot.kernelParams = [
"sysrq_always_enabled=1" "sysrq_always_enabled=1"
-1
View File
@@ -7,7 +7,6 @@
"sysrq_always_enabled=1" "sysrq_always_enabled=1"
]; ];
boot.kernelPackages = pkgs.linuxKernel.packages.linux_7_2;
boot.loader = { boot.loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
timeout = 3; timeout = 3;