about summary refs log tree commit diff
path: root/hosts/tahoe/services.nix
blob: 535eb8d2a68377af2c96d0f6b4f112348315ae9b (plain) (blame)
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
27
28
29
30
31
{ ... }:

{
  my.services = {
    samba = {
      enable = true;
      publicShares = [ "/data/fast/music" "/data/fast/videos" ];
    };
    navidrome = {
      enable = true;
      musicFolder = "/data/fast/music";
    };
    unifi = { enable = true; };
    prometheus = { enable = true; };
    grafana = { enable = true; };
    gitea = {
      enable = true;
      stateDir = "/var/lib/gitea";
    };
    rclone = { enable = true; };
    traefik = { enable = true; };
    transmission = { enable = true; };
    metrics-exporter = { enable = true; };
    backup = {
      repository = "/data/slow/backups/systems";
      timerConfig = { oncalendar = "00:15"; };
      passwordFile = config.age.secrets.restic-repo-systemms.path;
      paths = [ "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ];
    };
  };
}