]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet/fileSystems.nix
zfs: add a mirror SSD disk
[sourcephile-nix.git] / machines / mermet / fileSystems.nix
1 { pkgs, lib, config, ... }:
2 {
3 imports = [
4 ../../nixos/profiles/systems/zfs.nix
5 ];
6
7 /*
8 fileSystems."/boot" =
9 { device = "bpool/boot";
10 fsType = "zfs";
11 };
12 */
13 fileSystems."/" =
14 { device = "rpool/root";
15 fsType = "zfs";
16 };
17
18 fileSystems."/home" =
19 { device = "rpool/home";
20 fsType = "zfs";
21 };
22
23 fileSystems."/home/julm" =
24 { device = "rpool/home/julm";
25 fsType = "zfs";
26 };
27
28 fileSystems."/home/julm/log" =
29 { device = "rpool/home/julm/log";
30 fsType = "zfs";
31 };
32
33 fileSystems."/home/julm/mail" =
34 { device = "rpool/home/julm/mail";
35 fsType = "zfs";
36 };
37
38 fileSystems."/nix" =
39 { device = "rpool/nix";
40 fsType = "zfs";
41 };
42
43 fileSystems."/var" =
44 { device = "rpool/var";
45 fsType = "zfs";
46 };
47
48 fileSystems."/var/cache" =
49 { device = "rpool/var/cache";
50 fsType = "zfs";
51 };
52
53 fileSystems."/var/log" =
54 { device = "rpool/var/log";
55 fsType = "zfs";
56 };
57
58 fileSystems."/var/lib/dovecot" =
59 { device = "rpool/var/mail";
60 fsType = "zfs";
61 };
62
63 fileSystems."/var/lib/gitolite" =
64 { device = "rpool/var/git";
65 fsType = "zfs";
66 };
67
68 fileSystems."/var/lib/public-inbox" =
69 { device = "rpool/var/public-inbox";
70 fsType = "zfs";
71 };
72
73 fileSystems."/var/lib/redis" =
74 { device = "rpool/var/redis";
75 fsType = "zfs";
76 };
77
78 fileSystems."/var/tmp" =
79 { device = "rpool/var/tmp";
80 fsType = "zfs";
81 };
82
83 fileSystems."/var/www" =
84 { device = "rpool/var/www";
85 fsType = "zfs";
86 };
87 }