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