Fix disko syntax issues and adjust btrfs mount options
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
{
|
let
|
||||||
let
|
|
||||||
installDisk = "sda";
|
installDisk = "sda";
|
||||||
bootPartitionSize = "512M";
|
bootPartitionSize = "512M";
|
||||||
swapfileSize = "34G";
|
swapfileSize = "34G";
|
||||||
in {
|
in {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
main = {
|
main = {
|
||||||
@@ -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 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user