]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/mermet/fileSystems.nix
sourcehut: use mkEnableOption
[sourcephile-nix.git] / hosts / 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/tmp" =
59 { device = "rpool/var/tmp";
60 fsType = "zfs";
61 };
62
63 fileSystems."/var/www" =
64 { device = "rpool/var/www";
65 fsType = "zfs";
66 };
67 }