No extras because I don't understand disko yet

This commit is contained in:
Daniel Flanagan 2024-07-17 22:14:31 -05:00
parent 481e5909c9
commit a0d378a0e6

View file

@ -1,7 +1,6 @@
{
standardWithHibernateSwap = {
disks ? ["/dev/sda"],
extraSubvolumes ? {},
swapSize,
...
}: {
@ -54,22 +53,20 @@
content = {
type = "btrfs";
extraArgs = ["-f"];
subvolumes =
{
"/nixos" = {
mountpoint = "/";
mountOptions = ["compress=zstd" "noatime"];
};
"/home" = {
mountpoint = "/home";
mountOptions = ["compress=zstd" "noatime"];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = ["compress=zstd" "noatime"];
};
}
// extraSubvolumes;
subvolumes = {
"/nixos" = {
mountpoint = "/";
mountOptions = ["compress=zstd" "noatime"];
};
"/home" = {
mountpoint = "/home";
mountOptions = ["compress=zstd" "noatime"];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = ["compress=zstd" "noatime"];
};
};
};
};
};