huge progress dump, impermanence
This commit is contained in:
parent
3feb92cec5
commit
fce64637c2
13 changed files with 161 additions and 81 deletions
35
hosts/temperance/filesystem/default.nix
Normal file
35
hosts/temperance/filesystem/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
config = {
|
||||
fileSystems = {
|
||||
"/boot" = {
|
||||
device = "";
|
||||
fsType = "vfat";
|
||||
};
|
||||
# root on tmpfs
|
||||
"/" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = ["defaults" "size=25%" "mode=755"];
|
||||
};
|
||||
"/nix" = {
|
||||
device = "";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=nix" "compress=zstd" "noatime"];
|
||||
};
|
||||
"/persist" = {
|
||||
device = "";
|
||||
neededForBoot = true;
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=persist" "compress=zstd" "noatime"];
|
||||
};
|
||||
"/home" = {
|
||||
device = "";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=home" "compress=zstd" "noatime"];
|
||||
};
|
||||
};
|
||||
swapDevices = [
|
||||
{device = "";}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue