harden
This commit is contained in:
@@ -52,6 +52,8 @@
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
users.users.${user}.extraGroups = ["docker"];
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
nameservers = ["1.1.1.1"];
|
||||
firewall = {
|
||||
enable = true;
|
||||
trustedInterfaces = ["eno1" "tailscale0"];
|
||||
trustedInterfaces = ["tailscale0"];
|
||||
allowedUDPPorts = [config.services.tailscale.port];
|
||||
allowedTCPPorts = [22];
|
||||
checkReversePath = "loose";
|
||||
|
||||
Reference in New Issue
Block a user