desktop: update pc to use btrfs, linux latest
This commit is contained in:
4 files changed
+17
-5
No files matched your search
@@ -12,6 +12,8 @@
|
|||||||
];
|
];
|
||||||
opts.kb-input.enable = true;
|
opts.kb-input.enable = true;
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linux_latest;
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"amd_iommu=on"
|
"amd_iommu=on"
|
||||||
|
|||||||
@@ -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" =
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linux;
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"sysrq_always_enabled=1"
|
"sysrq_always_enabled=1"
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user