diff --git a/hosts/hainich/services/lantifa.nix b/hosts/hainich/services/lantifa.nix index 7978f9c..4d3eef4 100644 --- a/hosts/hainich/services/lantifa.nix +++ b/hosts/hainich/services/lantifa.nix @@ -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'); diff --git a/nix/sources.json b/nix/sources.json index c6e67d7..a77cbfd 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -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///archive/.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///archive/.tar.gz" } }