mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
nixos/akkoma: make assertion message more informative
This commit is contained in:
@@ -1173,7 +1173,7 @@ in
|
||||
cfg.config.":pleroma".":media_proxy".enabled
|
||||
-> cfg.config.":pleroma".":media_proxy".base_url != null;
|
||||
message = ''
|
||||
`services.akkoma.config.":pleroma".":media_proxy".base_url` must be set when the media proxy is enabled.
|
||||
`services.akkoma.config.":pleroma".":media_proxy".base_url` must be set to a URL with a different host component (domain name) than the web endpoint when the media proxy is enabled.
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user