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"; type = "btrfs";
extraArgs = ["-f"]; extraArgs = ["-f"];
subvolumes = { subvolumes = {
"@nixos" = { "@nixos-root" = {
mountpoint = "/"; mountpoint = "/";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"
"noatime" "noatime"
# "noexec" "noexec"
]; ];
}; };
"home" = { "@home" = {
mountpoint = "/home"; mountpoint = "/home";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"
"noatime" "noatime"
]; ];
}; };
"@nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@storage" = { "@storage" = {
mountpoint = "/storage"; mountpoint = "/storage";
mountOptions = [ mountOptions = [
@ -56,13 +63,6 @@
"noatime" "noatime"
]; ];
}; };
# "@nix" = {
# mountpoint = "/nix";
# mountOptions = [
# "compress=zstd"
# "noatime"
# ];
# };
}; };
}; };
}; };