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