fix: Fixes disco configuration
This commit is contained in:
parent
c3eab3b1ae
commit
86c41180b8
4 changed files with 67 additions and 54 deletions
|
@ -19,23 +19,30 @@
|
|||
};
|
||||
rootfs = {
|
||||
size = "100%";
|
||||
name = "NixOS";
|
||||
content = {
|
||||
"/root" = {
|
||||
mountpoint = "/";
|
||||
# mountOptions = ["compress=zstd" "noatime"];
|
||||
};
|
||||
"/persist" = {
|
||||
mountpoint = "/persist";
|
||||
# mountOptions = ["compress=zstd" "subvol=persist" "noatime"];
|
||||
mountOptions = ["subvol=persist" "noatime"];
|
||||
};
|
||||
"/home" = {
|
||||
mountpoint = "/home";
|
||||
mountOptions = ["compress=zstd" "subvol=home" "noatime"];
|
||||
};
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = ["compress=zstd" "subvol=nix" "noatime"];
|
||||
type = "btrfs";
|
||||
extraArgs = ["-f"];
|
||||
subvolumes = {
|
||||
root = {
|
||||
name = "root";
|
||||
mountpoint = "/";
|
||||
};
|
||||
persist = {
|
||||
name = "persist";
|
||||
mountpoint = "/persist";
|
||||
mountOptions = ["subvol=persist" "noatime"];
|
||||
};
|
||||
home = {
|
||||
name = "home";
|
||||
mountpoint = "/home";
|
||||
mountOptions = ["subvol=home" "noatime"];
|
||||
};
|
||||
nix = {
|
||||
name = "nix";
|
||||
mountpoint = "/nix";
|
||||
mountOptions = ["compress=zstd" "subvol=nix" "noatime"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue