]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet/production/fileSystems.nix
dovecot: update fts_xapian
[sourcephile-nix.git] / servers / mermet / production / fileSystems.nix
1 { pkgs, lib, config, ... }:
2 {
3 imports = [
4 ../../../base/zfs.nix
5 ];
6
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";
11
12 /*
13 # Enable the (OpenSolaris-compatible) ZFS auto-snapshotting service.
14 services.zfs.autoSnapshot = {
15 enable = true;
16 frequent = ;
17 hourly = ;
18 daily = ;
19 weekly = ;
20 monthly = ;
21 };
22 */
23
24 /*
25 fileSystems."/boot" =
26 { device = "bpool/boot";
27 fsType = "zfs";
28 };
29 */
30 fileSystems."/" =
31 { device = "rpool/root";
32 fsType = "zfs";
33 };
34
35 fileSystems."/home" =
36 { device = "rpool/home";
37 fsType = "zfs";
38 };
39
40 fileSystems."/home/julm" =
41 { device = "rpool/home/julm";
42 fsType = "zfs";
43 };
44
45 fileSystems."/home/julm/log" =
46 { device = "rpool/home/julm/log";
47 fsType = "zfs";
48 };
49
50 fileSystems."/home/julm/mail" =
51 { device = "rpool/home/julm/mail";
52 fsType = "zfs";
53 };
54
55 fileSystems."/nix" =
56 { device = "rpool/nix";
57 fsType = "zfs";
58 };
59
60 fileSystems."/var" =
61 { device = "rpool/var";
62 fsType = "zfs";
63 };
64
65 fileSystems."/var/cache" =
66 { device = "rpool/var/cache";
67 fsType = "zfs";
68 };
69
70 fileSystems."/var/log" =
71 { device = "rpool/var/log";
72 fsType = "zfs";
73 };
74
75 fileSystems."/var/lib/dovecot" =
76 { device = "rpool/var/mail";
77 fsType = "zfs";
78 };
79
80 fileSystems."/var/lib/gitolite" =
81 { device = "rpool/var/git";
82 fsType = "zfs";
83 };
84
85 fileSystems."/var/lib/redis" =
86 { device = "rpool/var/redis";
87 fsType = "zfs";
88 };
89
90 fileSystems."/var/tmp" =
91 { device = "rpool/var/tmp";
92 fsType = "zfs";
93 };
94
95 fileSystems."/var/www" =
96 { device = "rpool/var/www";
97 fsType = "zfs";
98 };
99 }