Fix disko syntax issues and adjust btrfs mount options

This commit is contained in:
Sravan Balaji
2024-03-24 09:37:04 -04:00
parent 0d8959b46a
commit e6d273196e

View File

@@ -1,4 +1,3 @@
{
let let
installDisk = "sda"; installDisk = "sda";
bootPartitionSize = "512M"; bootPartitionSize = "512M";
@@ -42,19 +41,19 @@
subvolumes = { subvolumes = {
"@" = { "@" = {
mountpoint = "/"; mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ];
}; };
"@home" = { "@home" = {
mountpoint = "/home"; mountpoint = "/home";
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ];
}; };
"@snapshots" = { "@snapshots" = {
mountpoint = "/.snapshots"; mountpoint = "/.snapshots";
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ];
}; };
"@nix" = { "@nix" = {
mountpoint = "/nix"; mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ];
}; };
"@swap" = { "@swap" = {
mountpoint = "/swap"; mountpoint = "/swap";
@@ -69,5 +68,4 @@
}; };
}; };
}; };
};
} }