infra/modules/nixos/zfs.nix

21 lines
422 B
Nix
Raw Normal View History

2022-01-16 09:48:21 +01:00
{
fileSystems."/" = {
2022-08-14 16:49:30 +02:00
device = "zroot/root/nixos";
fsType = "zfs";
2022-01-16 09:48:21 +01:00
};
fileSystems."/home" = {
device = "zroot/root/home";
fsType = "zfs";
# We don't want servers to go in systemd rescue mode, but rather having
# failed mounts show up in monitoring
options = [ "nofail" ];
};
fileSystems."/boot" = {
device = "/dev/md127";
fsType = "ext4";
options = [ "nofail" ];
};
}