zaphyra's git: nixfiles

zaphyra's nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
{ config, ... }:

{

  fileSystems = {
    "/nix/persist/home/zaphyra/syncthing" = {
      fsType = "zfs";
      device = "${config.networking.hostName}/data/home/zaphyra/syncthing";
    };
    "/nix/persist/home/zaphyra/syncthing/Documents" = {
      fsType = "zfs";
      device = "${config.networking.hostName}/data/home/zaphyra/syncthing/documents";
    };
    "/nix/persist/home/zaphyra/syncthing/Pictures" = {
      fsType = "zfs";
      device = "${config.networking.hostName}/data/home/zaphyra/syncthing/pictures";
    };
  };

  modules.presets.zaphyra.syncthing = {
    enable = false;
    dataDir = "/nix/persist/home/zaphyra/syncthing";
    configDir = "/nix/persist/home/zaphyra/syncthing/syncthingConfig";
  };

}