services/lantifa: set mediawiki-version from 21.11
due to a wikiDB issue the mediawiki version in unstable (37) is not compatible. switching to 21.05 would mean a downgrade, so this is the hack until we fully upgrade to 21.11
This commit is contained in:
parent
af8b16117f
commit
2a1e692522
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, profiles, modules, evalConfig, ... }:
|
||||
|
||||
let
|
||||
unstable = import (import ../nix/sources.nix).nixpkgs-unstable {};
|
||||
new = import (import ../nix/sources.nix).nixpkgs-new {};
|
||||
in {
|
||||
containers.lantifa = {
|
||||
autoStart = true;
|
||||
|
@ -37,13 +37,13 @@ in {
|
|||
services.mediawiki = {
|
||||
enable = true;
|
||||
name = "LANtifa";
|
||||
package = unstable.mediawiki;
|
||||
package = new.mediawiki;
|
||||
database.createLocally = true;
|
||||
passwordFile = "/var/lib/mediawiki/mediawiki-password";
|
||||
extraConfig = let
|
||||
wikidb = pkgs.fetchzip {
|
||||
url = "http://www.kennel17.co.uk/uploads/testwiki/archive/e/e9/20210407232657%21WikiDB.zip";
|
||||
sha256 = "0d4f2ygglz4w515a7lgw59500q3xmr92xxhsmh8p204yaa769x8v";
|
||||
url = "https://www.kennel17.co.uk/uploads/testwiki/e/e9/WikiDB.zip";
|
||||
sha256 = "0pns9fk1ws54m7rgbfsrxqh6ayab16mmnvzba8m4malljgrbil8b";
|
||||
};
|
||||
in ''
|
||||
// Configure short URLs
|
||||
|
|
Loading…
Reference in a new issue