lol

Merge pull request #305155 from Mynacol/akkoma-fix-proxy

nixos/akkoma: Fix media proxy URLs after upgrade

authored by

Thomas Gerbet and committed by
GitHub
f8deac79 c3ec6b8f

+2 -2
+2 -2
nixos/modules/services/web-apps/akkoma.nix
··· 817 817 base_url = mkOption { 818 818 type = types.nullOr types.nonEmptyStr; 819 819 default = if lib.versionOlder config.system.stateVersion "24.05" 820 - then "${httpConf.scheme}://${httpConf.host}:${builtins.toString httpConf.port}/media/" 820 + then "${httpConf.scheme}://${httpConf.host}:${builtins.toString httpConf.port}" 821 821 else null; 822 822 defaultText = literalExpression '' 823 823 if lib.versionOlder config.system.stateVersion "24.05" 824 - then "$\{httpConf.scheme}://$\{httpConf.host}:$\{builtins.toString httpConf.port}/media/" 824 + then "$\{httpConf.scheme}://$\{httpConf.host}:$\{builtins.toString httpConf.port}" 825 825 else null; 826 826 ''; 827 827 description = ''