From b6f78df9969a37e50f5626f37474e7b69b7bc294 Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Mon, 16 Nov 2026 09:45:18 -0800 Subject: [PATCH] desktop: update pc to use btrfs, linux latest --- hosts/Yura-PC/default.nix | 2 ++ hosts/Yura-PC/hardware-configuration.nix | 17 +++++++++++++---- hosts/Yura-TPX13/default.nix | 2 ++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/hosts/Yura-PC/default.nix b/hosts/Yura-PC/default.nix index aef5030..c79ad0f 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.linux_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..54b9376 100644 --- a/hosts/Yura-TPX13/default.nix +++ b/hosts/Yura-TPX13/default.nix @@ -6,6 +6,8 @@ ./hardware-configuration.nix ]; + boot.kernelPackages = pkgs.linux; + # Bootloader. boot.kernelParams = [ "sysrq_always_enabled=1"