1 { pkgs, lib, config, ... }:
4 ../../nixos/base/zfs.nix
8 # Enable the (OpenSolaris-compatible) ZFS auto-snapshotting service.
9 services.zfs.autoSnapshot = {
20 { device = "losurdo_nvme/root";
25 { device = "losurdo_nvme/home";
29 fileSystems."/home/julm" =
30 { device = "losurdo_nvme/home/julm";
34 fileSystems."/home/julm/work" =
35 { device = "losurdo_nvme/home/julm/work";
40 { device = "losurdo_nvme/nix";
45 { device = "losurdo_nvme/var";
49 fileSystems."/var/cache" =
50 { device = "losurdo_nvme/var/cache";
54 fileSystems."/var/log" =
55 { device = "losurdo_nvme/var/log";
59 fileSystems."/var/lib/postgresql" =
60 { device = "losurdo_nvme/var/postgresql";
61 fsType = "zfs"; # with sync=always,
62 # though loading OpenConcerto's initial SQL
63 # takes 1m40s instead of 40s :\
66 fileSystems."/var/tmp" =
67 { device = "losurdo_nvme/var/tmp";
71 fileSystems."/var/torrents" =
72 { device = "losurdo_nvme/var/torrents";