.
This commit is contained in:
parent
70fd7c3d7a
commit
2130c44388
17 changed files with 254 additions and 243 deletions
|
|
@ -21,12 +21,16 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.mydia = {
|
||||
enable = true;
|
||||
package = inputs.mydia.packages.${system}.default;
|
||||
|
||||
port = 2010;
|
||||
listenAddress = "0.0.0.0";
|
||||
openFirewall = true;
|
||||
|
||||
database = {
|
||||
type = "postgres";
|
||||
uri = "postgres://localhost:5432/mydia?sslMode=disable";
|
||||
};
|
||||
|
||||
secretKeyBaseFile = config.sops.secrets."mydia/secret_key_base".path;
|
||||
guardianSecretKeyFile = config.sops.secrets."mydia/guardian_secret".path;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue