Working proxy implementation for jichan.org
This commit is contained in:
parent
639c7fd352
commit
77ac1db698
12 changed files with 107 additions and 28 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [ (import ./hardware-configuration.nix) ];
|
||||
|
@ -15,6 +15,13 @@
|
|||
|
||||
services.blueman.enable = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
networking.firewall = {
|
||||
checkReversePath = "loose";
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport32Bit = true; # Required for Touhou
|
||||
|
|
10
hosts/desktop/modules/tailscale.nix
Normal file
10
hosts/desktop/modules/tailscale.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.tailscale.enable = true;
|
||||
networking.firewall = {
|
||||
checkReversePath = "loose";
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue