disko: fix labels and config

This commit is contained in:
2023-12-20 14:02:15 +01:00
parent a965485be6
commit 1cd51d2034
2 changed files with 40 additions and 43 deletions

View File

@@ -12,8 +12,8 @@
type = "EF00";
content = {
type = "filesystem";
name = "NIXBOOT";
format = "vfat";
extraArgs = [ "-n NIXBOOT" ];
mountpoint = "/boot";
mountOptions = [
"defaults"
@@ -33,8 +33,7 @@
};
content = {
type = "btrfs";
name = "NIXROOT";
extraArgs = [ "-f" ];
extraArgs = [ "-f -L NIXROOT" ];
subvolumes = {
"@" = {
mountpoint = "/";
@@ -44,14 +43,18 @@
mountpoint = "/home";
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
};
"@srv" = {
mountpoint = "/srv";
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
};
"@nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
};
"@snapshots" = {
mountpoint = "/mnt";
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
};
"@srv" = {
mountpoint = "/srv";
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
};
"@var" = {
mountpoint = "/var";
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];