Consolidate config for vm02187

This commit is contained in:
Nicolas Jeannerod 2024-11-20 17:25:17 +01:00
parent e4c891b284
commit 5bc7f954bd
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
3 changed files with 12 additions and 12 deletions

View file

@ -67,10 +67,7 @@
};
nixpkgs = inputs.nixpkgs;
nixos.module = {
imports = [
./vm02187/configuration.nix
./vm02187/hardware-configuration.nix
];
imports = [ ./vm02187 ];
};
};
};

View file

@ -1,4 +1,15 @@
{
imports = [
../common
./wiki.nix
];
procolix.vm = {
name = "vm02187";
ip4 = "185.206.232.187";
ip6 = "2a00:51c0:12:1201::187";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/a46a9c46-e32b-4216-a4aa-8819b2cd0d49";
fsType = "ext4";

View file

@ -1,14 +1,6 @@
{ pkgs, ... }:
{
imports = [ ../common ];
procolix.vm = {
name = "vm02187";
ip4 = "185.206.232.187";
ip6 = "2a00:51c0:12:1201::187";
};
services.phpfpm.pools.mediawiki.phpOptions = ''
upload_max_filesize = 1024M;
post_max_size = 1024M;