System/Nixinator: Update btrfs subvolume names and options
This commit is contained in:
@ -45,47 +45,42 @@
|
|||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = ["-L" "NIXOS" "-f"];
|
extraArgs = ["-L" "NIXOS" "-f"];
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"/root" = {
|
"root" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"subvol=root"
|
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
"noatime"
|
"noatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"/home" = {
|
"home" = {
|
||||||
mountpoint = "/home";
|
mountpoint = "/home";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"subvol=home"
|
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
"noatime"
|
"noatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"/nix" = {
|
"nix" = {
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"subvol=nix"
|
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
"noatime"
|
"noatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"/persist" = {
|
"persist" = {
|
||||||
mountpoint = "/persist";
|
mountpoint = "/persist";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"subvol=persist"
|
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
"noatime"
|
"noatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"/log" = {
|
"log" = {
|
||||||
mountpoint = "/var/log";
|
mountpoint = "/var/log";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"subvol=log"
|
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
"noatime"
|
"noatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"/swap" = {
|
"swap" = {
|
||||||
mountpoint = "/swap";
|
mountpoint = "/swap";
|
||||||
swap.swapfile.size = "16G";
|
swap.swapfile.size = "16G";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user