move some apps to namespace
This commit is contained in:
@@ -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%"
|
||||
];
|
||||
};
|
||||
})];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user