1 { pkgs, lib, config, ... }:
8 # Enable the (OpenSolaris-compatible) ZFS auto-snapshotting service.
9 services.zfs.autoSnapshot = {
21 { device = "bpool/boot";
26 { device = "rpool/root";
31 { device = "rpool/home";
36 { device = "rpool/nix";
41 { device = "rpool/var";
45 fileSystems."/var/cache" =
46 { device = "rpool/var/cache";
50 fileSystems."/var/log" =
51 { device = "rpool/var/log";
55 fileSystems."/var/lib/dovecot" =
56 { device = "rpool/var/mail";
60 fileSystems."/var/lib/redis" =
61 { device = "rpool/var/redis";
65 fileSystems."/var/tmp" =
66 { device = "rpool/var/tmp";
70 fileSystems."/var/www" =
71 { device = "rpool/var/www";