2022-06-24 04:21:01 +00:00
|
|
|
{ ... }:
|
2022-06-23 22:42:20 +00:00
|
|
|
|
|
|
|
{
|
2022-08-02 23:02:14 +00:00
|
|
|
# root is a tmpfs so that we have an ephemeral system ("impermanence" handles the state)
|
2022-06-23 22:42:20 +00:00
|
|
|
fileSystems."/" = {
|
2022-08-02 23:02:14 +00:00
|
|
|
device = "none";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
options = [
|
|
|
|
"mode=755"
|
|
|
|
"size=1G"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/nix" = {
|
2022-06-23 22:42:20 +00:00
|
|
|
device = "/dev/disk/by-uuid/1f1271f8-53ce-4081-8a29-60a4a6b5d6f9";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = [
|
|
|
|
"compress=zstd"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
2022-06-24 04:21:01 +00:00
|
|
|
device = "/dev/disk/by-uuid/0299-F1E5";
|
2022-06-23 22:42:20 +00:00
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
}
|