mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: write funkwhale module
This commit is contained in:
parent
d8d894ddaf
commit
3d30c7dc01
1 changed files with 16 additions and 0 deletions
16
modules/services/funkwhale.nix
Normal file
16
modules/services/funkwhale.nix
Normal file
|
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue