forked from hacc/haccfiles
mediawiki cleanup
This commit is contained in:
parent
c2c0bd366a
commit
238c1b2c92
2 changed files with 1 additions and 5 deletions
|
@ -4,7 +4,6 @@ let
|
||||||
sources = import ../nix/sources.nix;
|
sources = import ../nix/sources.nix;
|
||||||
pkgs = import sources.nixpkgs args;
|
pkgs = import sources.nixpkgs args;
|
||||||
unstable = import sources.nixpkgs-unstable args;
|
unstable = import sources.nixpkgs-unstable args;
|
||||||
new = import sources.nixpkgs-new args;
|
|
||||||
|
|
||||||
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
{ config, lib, pkgs, profiles, modules, evalConfig, ... }:
|
{ config, lib, pkgs, profiles, modules, evalConfig, ... }:
|
||||||
|
|
||||||
let
|
{
|
||||||
new = import (import ../nix/sources.nix).nixpkgs-new {};
|
|
||||||
in {
|
|
||||||
containers.lantifa = {
|
containers.lantifa = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
|
@ -37,7 +35,6 @@ in {
|
||||||
services.mediawiki = {
|
services.mediawiki = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "LANtifa";
|
name = "LANtifa";
|
||||||
package = new.mediawiki;
|
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
passwordFile = "/var/lib/mediawiki/mediawiki-password";
|
passwordFile = "/var/lib/mediawiki/mediawiki-password";
|
||||||
extraConfig = let
|
extraConfig = let
|
||||||
|
|
Loading…
Reference in a new issue