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; + }; + }; + }; +}