From 3d30c7dc01a032e8542016324cf8aee00b7d34d3 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 11 Nov 2025 11:39:26 +0100 Subject: [PATCH] feat: write funkwhale module --- modules/services/funkwhale.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/services/funkwhale.nix diff --git a/modules/services/funkwhale.nix b/modules/services/funkwhale.nix new file mode 100644 index 0000000..247f9cc --- /dev/null +++ b/modules/services/funkwhale.nix @@ -0,0 +1,16 @@ +{ config, inputs, ... }: +{ + nixpkgs.overlays = [ inputs.funkwhale.overlay ]; + services = { + funkwhale = { + enable = true; + hostname = "music.liv.town"; + defaultFromEmail = "notifications@liv.town"; + protocol = "https"; + forceSSL = true; # uncomment when LetsEncrypt needs to access "http:" in order to check domain + api = { + djangoSecretKeyFile = config.sops.secrets.funkwhaleDjangoSecret.path; + }; + }; + }; +}