stuff
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{ lib, pkgs, config, inputs, utils, ... }:
|
||||
{
|
||||
imports = [ ./common-config.nix ];
|
||||
options.vacu.underTest = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
options.vacu.acmeCertDependencies = lib.mkOption {
|
||||
default = {};
|
||||
example = ''
|
||||
|
@@ -45,6 +45,21 @@
|
||||
# "netmask": "255.255.0.0",
|
||||
# "gateway": "10.46.0.1"
|
||||
# }
|
||||
networking.interfaces."ens3" = {
|
||||
useDHCP = true;
|
||||
ipv4.addresses = [{
|
||||
address = "10.46.0.7";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
ipv4.routes = [{
|
||||
address = "0.0.0.0";
|
||||
prefixLength = 0;
|
||||
via = "10.46.0.1"
|
||||
options.scope = "global";
|
||||
options.src = "10.46.0.7";
|
||||
options.metric = "1200";
|
||||
}];
|
||||
};
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
|
@@ -34,6 +34,7 @@
|
||||
|
||||
nodes.liam = { lib, ... }: {
|
||||
imports = [ ../liam ];
|
||||
vacu.underTest = true;
|
||||
systemd.services."acme-liam.dis8.net".enable = lib.mkForce false;
|
||||
systemd.timers."acme-liam.dis8.net".enable = lib.mkForce false;
|
||||
systemd.services."acme-selfsigned-liam.dis8.net".wantedBy = [ "postfix.service" "dovecot2.service" ];
|
||||
|
@@ -28,6 +28,7 @@
|
||||
);
|
||||
in {
|
||||
imports = [ ../triple-dezert ];
|
||||
vacu.underTest = true;
|
||||
systemd.services = disableAcmes // reEnableSelfsigned;
|
||||
systemd.units = disableUnits;
|
||||
#vacu.secretsFolder = ./test_secrets;
|
||||
|
Reference in New Issue
Block a user