From 5b8684d7fb588f4251c222e9f392a6e774be629d Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Tue, 14 Jan 2025 07:36:16 +0100 Subject: [PATCH] thinkpad: added a few clients for development --- hosts/thinkpad/configs/firewall.nix | 5 ++++- hosts/thinkpad/configuration.nix | 1 + hosts/thinkpad/dev.nix | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/thinkpad/configs/firewall.nix b/hosts/thinkpad/configs/firewall.nix index 12831c8..3ad0b32 100644 --- a/hosts/thinkpad/configs/firewall.nix +++ b/hosts/thinkpad/configs/firewall.nix @@ -1,7 +1,10 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ networking.firewall = { enable = true; + allowedUDPPorts = [ + 3224 ]; allowedTCPPorts = [ ]; diff --git a/hosts/thinkpad/configuration.nix b/hosts/thinkpad/configuration.nix index 535f129..4f436ad 100755 --- a/hosts/thinkpad/configuration.nix +++ b/hosts/thinkpad/configuration.nix @@ -17,6 +17,7 @@ ./system/shell.nix ./system/remap.nix ./system/ssd.nix + ./configs/firewall.nix # rice and other usefull apps ./desktop.nix diff --git a/hosts/thinkpad/dev.nix b/hosts/thinkpad/dev.nix index f62aa83..6ced3a0 100755 --- a/hosts/thinkpad/dev.nix +++ b/hosts/thinkpad/dev.nix @@ -18,6 +18,10 @@ #nix-init postman + beekeeper-studio # mysql postgres ... client + insomnia # http client + redisinsight + ]; }