configure disk differently for faster iteration

This commit is contained in:
twoneis 2024-05-08 15:38:26 +02:00
parent 05705124bc
commit 2d1e4f2af7
2 changed files with 6 additions and 16 deletions

View file

@ -31,10 +31,6 @@
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/"; mountpoint = "/";
}; };
"/home" = {
mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/home";
};
"/nix" = { "/nix" = {
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/nix"; mountpoint = "/nix";
@ -45,7 +41,6 @@
}; };
}; };
mountpoint = "/pratition-root";
swap = { swap = {
swapfile = { swapfile = {
size = "16G"; size = "16G";

View file

@ -6,31 +6,26 @@
fileSystems = { fileSystems = {
"/" = { "/" = {
device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5"; device = "/dev/nvme0n1p2";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=rootfs" "compress=zstd" "noatime" ]; options = [ "subvol=rootfs" "compress=zstd" "noatime" ];
}; };
"/boot" = { "/boot" = {
device = "/dev/disk/by-uuid/DCD8-29D7"; device = "/dev/nvme0n1p1";
fsType = "vfat"; fsType = "vfat";
}; };
"/nix" = { "/nix" = {
device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5"; device = "/dev/nvme0n1p2";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ]; options = [ "subvol=nix" "compress=zstd" "noatime" ];
}; };
"/persist" = { "/persist" = {
device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5"; device = "/dev/nvme0n1p2";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=persistent" "compress=zstd" "noatime" ]; options = [ "subvol=persist" "compress=zstd" "noatime" ];
};
"/home" = {
device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5";
fsType = "btrfs";
options = [ "subvol=home" "compress=zstd" "noatime" ];
}; };
"/ext" = { "/ext" = {
device = "/dev/disk/by-uuid/90aa2cba-41dc-4efb-b509-822d1e2bc525"; device = "/dev/sda1";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=ext" "compress=zstd" "noatime" ]; options = [ "subvol=ext" "compress=zstd" "noatime" ];
}; };