Frankfurt

This commit is contained in:
albert 2024-06-23 19:17:22 +09:00
parent d0bf9a0992
commit 9acf4abcf3
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, modulesPath, ... }: { { lib, modulesPath, hostname, ... }: {
imports = [ imports = [
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
../../common/services/tailscale-autoconnect.nix ../../common/services/tailscale-autoconnect.nix
@ -36,7 +36,7 @@
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
time.timeZone = "Europe/Rome"; time.timeZone = "Europe/Rome";
networking.hostName = "milan-linode-01"; networking.hostName = hostname;
services.tailscale.extraUpFlags = [ "--advertise-exit-node" ]; services.tailscale.extraUpFlags = [ "--advertise-exit-node" ];
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };

View file