2024-02-05 20:36:51 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [];
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "root";
|
|
|
|
fsType = "tmpfs";
|
2024-02-06 08:19:32 +00:00
|
|
|
options = ["size=521M" "mode=755"];
|
2024-02-05 20:36:51 +00:00
|
|
|
};
|
|
|
|
fileSystems."/persist" = {
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = ["subvol=persist"];
|
|
|
|
neededForBoot = true;
|
|
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = ["subvol=nix"];
|
|
|
|
};
|
2024-02-06 09:35:16 +00:00
|
|
|
fileSystems."/var/lib/mailman" = {
|
2024-02-05 20:36:51 +00:00
|
|
|
device = "/dev/disk/by-label/mailman";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
}
|