2022-06-24 04:21:01 +00:00
|
|
|
{ ... }:
|
2022-05-22 09:03:25 +00:00
|
|
|
|
|
|
|
{
|
2022-06-24 09:07:40 +00:00
|
|
|
# root is a tmpfs so that we have an ephemeral system ("impermanence" handles the state)
|
2022-06-23 10:39:09 +00:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "none";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
options = [
|
|
|
|
"mode=755"
|
|
|
|
"size=1G"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
2022-06-24 08:02:26 +00:00
|
|
|
# we need a /tmp of default size (half RAM) for building large nix things
|
|
|
|
fileSystems."/tmp" = {
|
|
|
|
device = "none";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
options = [
|
|
|
|
"mode=777"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
2022-06-23 23:28:12 +00:00
|
|
|
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
device = "/dev/disk/by-uuid/75230e56-2c69-4e41-b03e-68475f119980";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = [
|
|
|
|
"compress=zstd"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
2022-06-24 04:21:01 +00:00
|
|
|
device = "/dev/disk/by-uuid/BD79-D6BB";
|
2022-06-23 23:28:12 +00:00
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
# fileSystems."/nix" = {
|
|
|
|
# device = "/dev/disk/by-uuid/5a7fa69c-9394-8144-a74c-6726048b129f";
|
|
|
|
# fsType = "btrfs";
|
|
|
|
# };
|
|
|
|
|
|
|
|
# fileSystems."/boot" = {
|
|
|
|
# device = "/dev/disk/by-uuid/4302-1685";
|
|
|
|
# fsType = "vfat";
|
|
|
|
# };
|
|
|
|
|
|
|
|
# fileSystems."/" = {
|
|
|
|
# device = "none";
|
|
|
|
# fsType = "tmpfs";
|
|
|
|
# options = [
|
|
|
|
# "mode=755"
|
|
|
|
# "size=1G"
|
|
|
|
# "defaults"
|
|
|
|
# ];
|
|
|
|
# };
|
2022-05-22 09:03:25 +00:00
|
|
|
}
|