mirror of
https://git.gay/xqtc/nixos-config
synced 2025-02-16 21:30:46 +01:00
dementia
This commit is contained in:
parent
c5bd073d25
commit
194575ad78
|
@ -126,18 +126,17 @@ with lib; {
|
|||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings = {
|
||||
Host."frotting" ={
|
||||
HostName = "2a0f:be01:0:100::a3";
|
||||
User = "communism";
|
||||
};
|
||||
};
|
||||
programs.ssh.extraConfig = ''
|
||||
Host frotting
|
||||
HostName 2a0f:be01:0:100::a3
|
||||
User communism
|
||||
'';
|
||||
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [22 80 443];
|
||||
# networking.firewall.allowedUDPPorts = [443];
|
||||
networking.firewall.allowedUDPPorts = [51820];
|
||||
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue