diff options
author | Rafael García Gallego <rafael.garcia.gallego@gmail.com> | 2018-11-15 20:22:20 +0100 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-11-15 19:22:20 +0000 |
commit | 8bf4fe85f10d488fa94a67366793b79526e2a878 (patch) | |
tree | 784dec9080a1076a22f187cdded1c0d4114865bd /nixos/modules/services/web-apps/selfoss.nix | |
parent | 31d72972f7c0b42dd2754db4aa6834c502c704dc (diff) | |
download | nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.tar nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.tar.gz nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.tar.bz2 nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.tar.lz nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.tar.xz nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.tar.zst nixpkgs-8bf4fe85f10d488fa94a67366793b79526e2a878.zip |
selfoss (service): fix port in service config (#50411)
Diffstat (limited to 'nixos/modules/services/web-apps/selfoss.nix')
-rw-r--r-- | nixos/modules/services/web-apps/selfoss.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/selfoss.nix b/nixos/modules/services/web-apps/selfoss.nix index 5571f77334c..7b0ce8a8d03 100644 --- a/nixos/modules/services/web-apps/selfoss.nix +++ b/nixos/modules/services/web-apps/selfoss.nix @@ -21,8 +21,8 @@ let db_database=${cfg.database.name} db_username=${cfg.database.user} db_password=${cfg.database.password} - db_port=${if (cfg.database.port != null) then cfg.database.port - else default_port} + db_port=${toString (if (cfg.database.port != null) then cfg.database.port + else default_port)} '' } ${cfg.extraConfig} |