temp testing
This commit is contained in:
@@ -75,6 +75,14 @@ in
|
||||
config = lib.mkIf (!isArm && cfg.enable) {
|
||||
disko.devices = lib.mkMerge [
|
||||
{
|
||||
nodev."/" = {
|
||||
fsType = "tmpfs";
|
||||
mountOptions = [
|
||||
"mode=755"
|
||||
"defaults"
|
||||
"size=25%"
|
||||
];
|
||||
};
|
||||
disk = {
|
||||
main = {
|
||||
device = rootDisk;
|
||||
@@ -108,35 +116,37 @@ in
|
||||
"--compression=zstd"
|
||||
];
|
||||
subvolumes = {
|
||||
"subvolumes/root" = {
|
||||
mountpoint = "/";
|
||||
"root" = {
|
||||
mountpoint = "/root";
|
||||
mountOptions = [
|
||||
"verbose"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"subvolumes/persistent" = {
|
||||
mountpoint = "/persistent";
|
||||
"etc" = {
|
||||
mountOptions = [
|
||||
"noatime"
|
||||
];
|
||||
mountpoint = "/etc";
|
||||
};
|
||||
"subvolumes/nix" = {
|
||||
"nix" = {
|
||||
mountOptions = [
|
||||
"noatime"
|
||||
];
|
||||
mountpoint = "/nix";
|
||||
};
|
||||
"log" = {
|
||||
mountOptions = [
|
||||
"noatime"
|
||||
];
|
||||
mountpoint = "/var/log";
|
||||
};
|
||||
"home" = {
|
||||
mountpoint = "/home";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
(lib.mkIf (cfg.filesystem == "btrfs") {
|
||||
nodev."/" = {
|
||||
fsType = "tmpfs";
|
||||
mountOptions = [
|
||||
"mode=755"
|
||||
"defaults"
|
||||
"size=25%"
|
||||
];
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user