diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-01-10 21:45:59 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-01-10 21:45:59 +0100 |
commit | 5414867fd827331aa6ec7771874539ab9d038dda (patch) | |
tree | 2205a20b9d8b9beb4f486ef5ee5c824120840fe2 /kuro/hardware-configuration.nix | |
parent | 4ebe93febd2ddb72da17d45db7ea8a8a5b30004f (diff) |
add kuro bcachefs config
Diffstat (limited to 'kuro/hardware-configuration.nix')
-rw-r--r-- | kuro/hardware-configuration.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kuro/hardware-configuration.nix b/kuro/hardware-configuration.nix index 26da79b..93ab2bd 100644 --- a/kuro/hardware-configuration.nix +++ b/kuro/hardware-configuration.nix @@ -11,32 +11,32 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; fileSystems."/" = { device = "none"; fsType = "tmpfs"; + neededForBoot = true; options = [ "defaults" "size=8G" "mode=755" ]; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/263D-A89E"; + { device = "/dev/disk/by-id/ata-Samsung_SSD_870_QVO_4TB_S5STNF0W806802J-part1"; fsType = "vfat"; + neededForBoot = true; }; - # system - boot.initrd.luks.devices."crypt-system".device = "/dev/disk/by-uuid/f4af1379-93d2-4903-9fb5-5b767d733c66"; - fileSystems."/nix" = - { device = "/dev/mapper/crypt-system"; - fsType = "btrfs"; - options = [ "subvol=nix" "noatime" "nodiratime" ]; + { device = "/dev/disk/by-id/ata-Samsung_SSD_870_QVO_4TB_S5STNF0W806802J-part2"; + fsType = "bcachefs"; + neededForBoot = true; + options = [ "noatime" "nodiratime" ]; }; fileSystems."/data" = - { device = "/dev/mapper/crypt-system"; - fsType = "btrfs"; - options = [ "subvol=data" "noatime" "nodiratime" ]; + { device = "/dev/disk/by-id/ata-Samsung_SSD_870_QVO_4TB_S5STNF0W806802J-part3"; + fsType = "bcachefs"; + neededForBoot = true; + options = [ "noatime" "nodiratime" ]; }; fileSystems."/home" = |