move some apps to namespace

This commit is contained in:
mjallen18
2025-08-21 19:06:51 -05:00
parent bd64283f04
commit 0e066cb4d7
25 changed files with 149 additions and 135 deletions

View File

@@ -79,7 +79,7 @@ in
main = {
device = rootDisk;
type = "disk";
imageSize = "15G";
imageSize = "32G";
content = {
type = "gpt";
partitions = {
@@ -108,23 +108,26 @@ in
"--compression=zstd"
];
subvolumes = {
"/root" = {
"subvolumes/root" = {
mountpoint = "/";
mountOptions = [
"verbose"
];
};
"/persistent" = {
"subvolumes/persistent" = {
mountpoint = "/persistent";
};
"/nix" = {
"subvolumes/nix" = {
mountOptions = [
"noatime"
];
mountpoint = "/nix";
};
};
mountpoint = "/partition-root";
};
};
} (lib.mkIf (cfg.filesystem == "btrfs") {
}
(lib.mkIf (cfg.filesystem == "btrfs") {
nodev."/" = {
fsType = "tmpfs";
mountOptions = [
@@ -133,6 +136,7 @@ in
"size=25%"
];
};
})];
})
];
};
}