mirror of
https://github.com/materusPL/nixos-config
synced 2025-09-08 04:35:24 +02:00
Compare commits
No commits in common. "65492a133e00a3f29491bf3bff1864bb03d44e07" and "1091489449bc56955faecae19a21b8b22dbcae7e" have entirely different histories.
65492a133e
...
1091489449
@ -144,18 +144,6 @@ in
|
|||||||
description = "Mateusz Słodkowicz";
|
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 {
|
environment.sessionVariables = rec {
|
||||||
XDG_CACHE_HOME = "\${HOME}/.cache";
|
XDG_CACHE_HOME = "\${HOME}/.cache";
|
||||||
XDG_CONFIG_HOME = "\${HOME}/.config";
|
XDG_CONFIG_HOME = "\${HOME}/.config";
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
persistent-keepalive = "20";
|
persistent-keepalive = "20";
|
||||||
};
|
};
|
||||||
ipv4 = {
|
ipv4 = {
|
||||||
address1 = "${materusArg.ips.wireguard.Old-materusPC}/32";
|
address1 = "${materusArg.ips.wireguard.Old-materusPC}/23";
|
||||||
dns = "${materusArg.ips.wireguard.valkyrie};";
|
dns = "${materusArg.ips.wireguard.valkyrie};";
|
||||||
method = "manual";
|
method = "manual";
|
||||||
never-default = "true";
|
never-default = "true";
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
24800 5900 5357 4656 8080 9943 9944
|
24800 5900 5357 4656 8080 9943 9944
|
||||||
22000 config.services.syncthing.relay.statusPort config.services.syncthing.relay.port # Syncthing
|
22000 config.services.syncthing.relay.statusPort config.services.syncthing.relay.port # Syncthing
|
||||||
25565 8100 # Minecraft + BlueMap
|
26656 8100 # Minecraft + BlueMap
|
||||||
];
|
];
|
||||||
networking.firewall.allowedUDPPorts = [ (lib.strings.toInt materusArg.wireguard.port)
|
networking.firewall.allowedUDPPorts = [ (lib.strings.toInt materusArg.wireguard.port)
|
||||||
24800 5900 3702 4656 6000 9943 9944
|
24800 5900 3702 4656 6000 9943 9944
|
||||||
@ -60,7 +60,7 @@
|
|||||||
persistent-keepalive = "20";
|
persistent-keepalive = "20";
|
||||||
};
|
};
|
||||||
ipv4 = {
|
ipv4 = {
|
||||||
address1 = "${materusArg.ips.wireguard.materusPC}/32";
|
address1 = "${materusArg.ips.wireguard.materusPC}/23";
|
||||||
dns = "${materusArg.ips.wireguard.valkyrie};";
|
dns = "${materusArg.ips.wireguard.valkyrie};";
|
||||||
method = "manual";
|
method = "manual";
|
||||||
never-default = "true";
|
never-default = "true";
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user