hainich/lantifa: update mediawiki to use unstable

keep-around/ea80c4fe410d5cd9ac42c008e01b580e93b774f6
hexchen 2021-01-12 23:21:19 +00:00
parent 2d8eeb45ab
commit ea80c4fe41
2 changed files with 19 additions and 4 deletions

View File

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }:
{
let
unstable = import (import ../../../nix/sources.nix).nixpkgs-unstable {};
in {
containers.lantifa = {
autoStart = true;
privateNetwork = true;
@ -14,6 +16,7 @@
services.mediawiki = {
enable = true;
name = "LANtifa";
package = unstable.mediawiki;
database.createLocally = true;
passwordFile = "/var/lib/mediawiki/mediawiki-password";
extraConfig = ''require_once('/var/lib/mediawiki/plugins/WikiDB/WikiDB.php');

View File

@ -50,10 +50,22 @@
"homepage": "",
"owner": "hexchen",
"repo": "nixpkgs",
"rev": "83b0935c70f4490e180a3ac457020ef7073e01c9",
"sha256": "0hxbblh9z7vwjy3hdxnbw4sdv3nwzr05cgxxbpznmkhsyphvkq8x",
"rev": "bead59538251fcf1ad826b497b40395b65ee58ea",
"sha256": "0ybv6w35b7wr5pzdgs0vxv9nw3fszc182s4wvsdavwssvih0s3pd",
"type": "tarball",
"url": "https://github.com/hexchen/nixpkgs/archive/83b0935c70f4490e180a3ac457020ef7073e01c9.tar.gz",
"url": "https://github.com/hexchen/nixpkgs/archive/bead59538251fcf1ad826b497b40395b65ee58ea.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs-unstable": {
"branch": "hexchen-main",
"description": "Nix Packages collection",
"homepage": "",
"owner": "hexchen",
"repo": "nixpkgs",
"rev": "b5f7683f8d7f99186dd4232f233d17ce1abd4e17",
"sha256": "1fdyc7qfbj9abyy8xn1nsp5xy0mm4i3lg08dl3ppkqfirb6vakb0",
"type": "tarball",
"url": "https://github.com/hexchen/nixpkgs/archive/b5f7683f8d7f99186dd4232f233d17ce1abd4e17.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}