1

System/Nixinator: Update btrfs subvolume names and options

This commit is contained in:
2025-07-16 16:24:03 +02:00
parent ad1056d6a4
commit 79083ff6f2

View File

@ -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";
}; };