hosts/sarien/disko.nix: move /nix to subvol, set noexec, rename
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -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"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user