diff --git a/hosts/Yura-PC/default.nix b/hosts/Yura-PC/default.nix index aef5030..eb244cb 100644 --- a/hosts/Yura-PC/default.nix +++ b/hosts/Yura-PC/default.nix @@ -12,6 +12,8 @@ ]; opts.kb-input.enable = true; + boot.kernelPackages = pkgs.linuxPackages_latest; + # Bootloader. boot.kernelParams = [ "amd_iommu=on" diff --git a/hosts/Yura-PC/hardware-configuration.nix b/hosts/Yura-PC/hardware-configuration.nix index b44df7d..bd92c18 100644 --- a/hosts/Yura-PC/hardware-configuration.nix +++ b/hosts/Yura-PC/hardware-configuration.nix @@ -14,13 +14,22 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "zroot/ROOT/nixos/default"; - fsType = "zfs"; + { device = "/dev/mapper/luks-c5df5b80-fad5-4b61-ba51-a14783c0be59"; + 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" = - { device = "zroot/data/nix"; - fsType = "zfs"; + { device = "/dev/mapper/luks-c5df5b80-fad5-4b61-ba51-a14783c0be59"; + fsType = "btrfs"; + options = [ "subvol=nix" ]; }; fileSystems."/boot" = diff --git a/hosts/Yura-TPX13/default.nix b/hosts/Yura-TPX13/default.nix index 624e226..39a8017 100644 --- a/hosts/Yura-TPX13/default.nix +++ b/hosts/Yura-TPX13/default.nix @@ -6,6 +6,8 @@ ./hardware-configuration.nix ]; + boot.kernelPackages = pkgs.linuxPackages; + # Bootloader. boot.kernelParams = [ "sysrq_always_enabled=1" diff --git a/hosts/common-desktop.nix b/hosts/common-desktop.nix index 6efaef9..999c07a 100644 --- a/hosts/common-desktop.nix +++ b/hosts/common-desktop.nix @@ -7,7 +7,6 @@ "sysrq_always_enabled=1" ]; - boot.kernelPackages = pkgs.linuxKernel.packages.linux_7_2; boot.loader = { efi.canTouchEfiVariables = true; timeout = 3;