pxeboot rewrite, bridge for qemu
This commit is contained in:
parent
ba91796c3e
commit
1dd7fac8ed
10 changed files with 129 additions and 112 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }: {
|
||||
boot.kernelParams = [ "consoleblank=60" ];
|
||||
imports = [
|
||||
../common.nix
|
||||
../mods/host.nix
|
||||
./hardware.nix
|
||||
./mods/mail.nix
|
||||
./mods/system.nix
|
||||
|
|
@ -23,13 +23,7 @@
|
|||
ipv4.addresses = "10.1.0.2/16";
|
||||
ipv6.addresses = "fc01::2/64";
|
||||
};
|
||||
wg-quick.interfaces.awg0 = {
|
||||
address = [
|
||||
"10.0.0.2/32"
|
||||
"fc00::2/128"
|
||||
];
|
||||
configFile = config.sops.templates.awg1-conf.path;
|
||||
};
|
||||
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg1-conf.path;
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
|
|||
|
|
@ -82,8 +82,10 @@
|
|||
localNetworks = ''
|
||||
allow 10.0.0.0/16;
|
||||
allow 10.1.0.0/24;
|
||||
allow 10.2.0.0/24;
|
||||
allow fc00::/64;
|
||||
allow fc01::/96;
|
||||
allow fc02::/96;
|
||||
deny all;
|
||||
'';
|
||||
phpPool = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue