feat: change iso to btrfs
This commit is contained in:
parent
79b4a615f0
commit
ba9ef3913d
3 changed files with 51 additions and 8 deletions
|
|
@ -6,8 +6,39 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-partlabel/NIXOS";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-partlabel/NIXOS";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"subvol=@"
|
||||
"ssd"
|
||||
"compress=zstd:3"
|
||||
"discard=async"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/nix/store" = {
|
||||
device = "/dev/disk/by-uuid/…";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"subvol=@nix-store"
|
||||
"ssd"
|
||||
"compress=zstd:3"
|
||||
"discard=async"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/nix/persist" = {
|
||||
device = "/dev/disk/by-partlabel/NIXOS";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"subvol=@nix-persist"
|
||||
"ssd"
|
||||
"compress=zstd:3"
|
||||
"discard=async"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue