hosts/sarien/disko.nix: move /nix to subvol, set noexec, rename

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-25 16:44:59 +02:00
parent 441c7ea119
commit 002e6a43c8

View File

@ -34,21 +34,28 @@
type = "btrfs";
extraArgs = ["-f"];
subvolumes = {
"@nixos" = {
"@nixos-root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"noatime"
# "noexec"
"noexec"
];
};
"home" = {
"@home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@storage" = {
mountpoint = "/storage";
mountOptions = [
@ -56,13 +63,6 @@
"noatime"
];
};
# "@nix" = {
# mountpoint = "/nix";
# mountOptions = [
# "compress=zstd"
# "noatime"
# ];
# };
};
};
};