]> Git — Sourcephile - sourcephile-nix.git/blob - servers/losurdo/fileSystems.nix
public-inbox: hide test@sourcephile.fr
[sourcephile-nix.git] / servers / losurdo / fileSystems.nix
1 { pkgs, lib, config, ... }:
2 {
3 imports = [
4 ../../nixos/base/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 fileSystems."/" =
20 { device = "losurdo_nvme/root";
21 fsType = "zfs";
22 };
23
24 fileSystems."/home" =
25 { device = "losurdo_nvme/home";
26 fsType = "zfs";
27 };
28
29 fileSystems."/home/julm" =
30 { device = "losurdo_nvme/home/julm";
31 fsType = "zfs";
32 };
33
34 fileSystems."/home/julm/work" =
35 { device = "losurdo_nvme/home/julm/work";
36 fsType = "zfs";
37 };
38
39 fileSystems."/nix" =
40 { device = "losurdo_nvme/nix";
41 fsType = "zfs";
42 };
43
44 fileSystems."/var" =
45 { device = "losurdo_nvme/var";
46 fsType = "zfs";
47 };
48
49 fileSystems."/var/cache" =
50 { device = "losurdo_nvme/var/cache";
51 fsType = "zfs";
52 };
53
54 fileSystems."/var/log" =
55 { device = "losurdo_nvme/var/log";
56 fsType = "zfs";
57 };
58
59 fileSystems."/var/tmp" =
60 { device = "losurdo_nvme/var/tmp";
61 fsType = "zfs";
62 };
63
64 fileSystems."/var/torrents" =
65 { device = "losurdo_nvme/var/torrents";
66 fsType = "zfs";
67 };
68 }