temp testing

This commit is contained in:
mjallen18
2025-08-23 14:34:45 -05:00
parent a233606e8d
commit c680392513
7 changed files with 238 additions and 139 deletions

View File

@@ -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%"
];
};
})
];
};
}