Compare commits

...

2 Commits

Author SHA1 Message Date
65492a133e
Old-materusPC: VM 2025-07-27 00:09:09 +02:00
15babc1afd
Network update 2025-07-27 00:08:21 +02:00
5 changed files with 15 additions and 3 deletions

View File

@ -144,6 +144,18 @@ in
description = "Mateusz Słodkowicz";
};
virtualisation.libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemu.ovmf.enable = true;
qemu.ovmf.packages = [ pkgs.OVMFFull.fd ];
qemu.runAsRoot = true;
qemu.swtpm.enable = true;
qemu.package = pkgs.qemu_full;
};
environment.sessionVariables = rec {
XDG_CACHE_HOME = "\${HOME}/.cache";
XDG_CONFIG_HOME = "\${HOME}/.config";

View File

@ -42,7 +42,7 @@
persistent-keepalive = "20";
};
ipv4 = {
address1 = "${materusArg.ips.wireguard.Old-materusPC}/23";
address1 = "${materusArg.ips.wireguard.Old-materusPC}/32";
dns = "${materusArg.ips.wireguard.valkyrie};";
method = "manual";
never-default = "true";

View File

@ -26,7 +26,7 @@
networking.firewall.allowedTCPPorts = [
24800 5900 5357 4656 8080 9943 9944
22000 config.services.syncthing.relay.statusPort config.services.syncthing.relay.port # Syncthing
26656 8100 # Minecraft + BlueMap
25565 8100 # Minecraft + BlueMap
];
networking.firewall.allowedUDPPorts = [ (lib.strings.toInt materusArg.wireguard.port)
24800 5900 3702 4656 6000 9943 9944
@ -60,7 +60,7 @@
persistent-keepalive = "20";
};
ipv4 = {
address1 = "${materusArg.ips.wireguard.materusPC}/23";
address1 = "${materusArg.ips.wireguard.materusPC}/32";
dns = "${materusArg.ips.wireguard.valkyrie};";
method = "manual";
never-default = "true";