1 { pkgs, lib, config, ... }:
7 # The 32-bit host id of the machine, formatted as 8 hexadecimal characters.
8 # You should try to make this id unique among your machines.
9 # Manually generated with : head -c4 /dev/urandom | od -A none -t x4 | cut -d ' ' -f 2
10 networking.hostId = "69c40b03";
13 # Enable the (OpenSolaris-compatible) ZFS auto-snapshotting service.
14 services.zfs.autoSnapshot = {
26 { device = "bpool/boot";
31 { device = "rpool/root";
36 { device = "rpool/home";
40 fileSystems."/home/julm" =
41 { device = "rpool/home/julm";
45 fileSystems."/home/julm/mail" =
46 { device = "rpool/home/julm/mail";
51 { device = "rpool/nix";
56 { device = "rpool/var";
60 fileSystems."/var/cache" =
61 { device = "rpool/var/cache";
65 fileSystems."/var/log" =
66 { device = "rpool/var/log";
70 fileSystems."/var/lib/dovecot" =
71 { device = "rpool/var/mail";
75 fileSystems."/var/lib/gitolite" =
76 { device = "rpool/var/git";
80 fileSystems."/var/lib/redis" =
81 { device = "rpool/var/redis";
85 fileSystems."/var/tmp" =
86 { device = "rpool/var/tmp";
90 fileSystems."/var/www" =
91 { device = "rpool/var/www";