|
|
@ -17,6 +17,7 @@ |
|
|
|
../../common/fragments/prometheus_exporters.nix |
|
|
|
../../common/fragments/promtail.nix |
|
|
|
../../common/fragments/fail2ban.nix |
|
|
|
../../common/fragments/grocy.nix |
|
|
|
../../common/fragments/vaapi-jellyfin.nix |
|
|
|
../../common/fragments/infrared-reverse-proxy.nix |
|
|
|
../../common/fragments/tailscale.nix |
|
|
@ -46,6 +47,11 @@ |
|
|
|
fsType = "nfs"; |
|
|
|
}; |
|
|
|
|
|
|
|
fileSystems."/mnt/Grocy" = { |
|
|
|
device = "moria:/volume1/Grocy"; |
|
|
|
fsType = "nfs"; |
|
|
|
}; |
|
|
|
|
|
|
|
systemd.services.jellyfin.after = [ |
|
|
|
"mnt-Download.mount" |
|
|
|
"mnt-Public.mount" |
|
|
@ -64,6 +70,14 @@ |
|
|
|
"mnt-moria.mount" |
|
|
|
]; |
|
|
|
|
|
|
|
systemd.services.grocy.after = [ |
|
|
|
"mnt-Grocy.mount" |
|
|
|
]; |
|
|
|
|
|
|
|
systemd.services.grocy.requires= [ |
|
|
|
"mnt-Grocy.mount" |
|
|
|
]; |
|
|
|
|
|
|
|
# Enable DigitalOcean dynamic DNS |
|
|
|
systemd.services.do_dyndns = { |
|
|
|
enable = true; |
|
|
@ -198,6 +212,10 @@ |
|
|
|
proxyWebsockets = true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
virtualHosts."grocy.home.nora.codes" = { |
|
|
|
addSSL = true; |
|
|
|
useACMEHost = "home.nora.codes"; |
|
|
|
}; |
|
|
|
virtualHosts."graphs1090.home.nora.codes" = { |
|
|
|
addSSL = true; |
|
|
|
useACMEHost = "home.nora.codes"; |
|
|
@ -232,6 +250,7 @@ |
|
|
|
"sync.home.nora.codes" |
|
|
|
"news.home.nora.codes" |
|
|
|
"graphs1090.home.nora.codes" |
|
|
|
"grocy.home.nora.codes" |
|
|
|
]; |
|
|
|
}; |
|
|
|
systemd.services.nginx.after = ["avahi-daemon.service"]; |
|
|
|