mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
16 lines
460 B
Nix
16 lines
460 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|