disko doesn't support bcachefs subvolumes yet

This commit is contained in:
Tao Tien 2024-10-13 23:28:53 -07:00
parent 8d086ffcca
commit d8ce8bddef
6 changed files with 61 additions and 56 deletions

View file

@ -99,7 +99,7 @@
};
services.smartd.enable = true;
services.btrfs.autoScrub.enable = lib.mkDefault true;
# services.btrfs.autoScrub.enable = lib.mkDefault true;
hardware.pulseaudio.enable = lib.mkDefault false;
security.rtkit.enable = true;

View file

@ -31,15 +31,16 @@
type = "filesystem";
format = "bcachefs";
mountOptions = ["noatime"];
mountpoint = "/";
extraArgs = [
"--compression zstd"
"--background_compression zstd"
"--discard"
];
subvolumes = {
"/home" = {};
"/nix" = {};
};
# subvolumes = {
# "/home" = {};
# "/nix" = {};
# };
};
};
};