No extras because I don't understand disko yet
This commit is contained in:
parent
481e5909c9
commit
a0d378a0e6
|
@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue