]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet/fileSystems.nix
nix: upgrade to latests nixos-unstable-small, fix boot.initrd.network.ssh.hostKeys
[sourcephile-nix.git] / servers / mermet / fileSystems.nix
1 { pkgs, lib, config, ... }:
2 {
3 imports = [
4 ../../nixos/profiles/systems/zfs.nix
5 ];
6
7 /*
8 # Enable the (OpenSolaris-compatible) ZFS auto-snapshotting service.
9 services.zfs.autoSnapshot = {
10 enable = true;
11 frequent = ;
12 hourly = ;
13 daily = ;
14 weekly = ;
15 monthly = ;
16 };
17 */
18
19 /*
20 fileSystems."/boot" =
21 { device = "bpool/boot";
22 fsType = "zfs";
23 };
24 */
25 fileSystems."/" =
26 { device = "rpool/root";
27 fsType = "zfs";
28 };
29
30 fileSystems."/home" =
31 { device = "rpool/home";
32 fsType = "zfs";
33 };
34
35 fileSystems."/home/julm" =
36 { device = "rpool/home/julm";
37 fsType = "zfs";
38 };
39
40 fileSystems."/home/julm/log" =
41 { device = "rpool/home/julm/log";
42 fsType = "zfs";
43 };
44
45 fileSystems."/home/julm/mail" =
46 { device = "rpool/home/julm/mail";
47 fsType = "zfs";
48 };
49
50 fileSystems."/nix" =
51 { device = "rpool/nix";
52 fsType = "zfs";
53 };
54
55 fileSystems."/var" =
56 { device = "rpool/var";
57 fsType = "zfs";
58 };
59
60 fileSystems."/var/cache" =
61 { device = "rpool/var/cache";
62 fsType = "zfs";
63 };
64
65 fileSystems."/var/log" =
66 { device = "rpool/var/log";
67 fsType = "zfs";
68 };
69
70 fileSystems."/var/lib/dovecot" =
71 { device = "rpool/var/mail";
72 fsType = "zfs";
73 };
74
75 fileSystems."/var/lib/gitolite" =
76 { device = "rpool/var/git";
77 fsType = "zfs";
78 };
79
80 fileSystems."/var/lib/public-inbox" =
81 { device = "rpool/var/public-inbox";
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 }