From 04019415bdc9626b1ec3f674bc77c7d9bb438aeb Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Fri, 3 Oct 2025 09:51:11 -0600 Subject: [PATCH] firewall symplification + theme adjustments --- config/schemes.nix | 2 +- config/stylix.nix | 2 +- hosts/workstation/configuration.nix | 30 +++++++++++------------------ 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/config/schemes.nix b/config/schemes.nix index ceb624e..e38adb4 100644 --- a/config/schemes.nix +++ b/config/schemes.nix @@ -63,7 +63,7 @@ in image = "${wallpapers}/febroary.jpg"; }; paul3 = mkScheme { - color = "yellow"; + color = "bluegrey"; name = "mexico-light"; polarity = "light"; image = "${wallpapers}/paul3.jpg"; diff --git a/config/stylix.nix b/config/stylix.nix index 4479ad5..614b3b2 100644 --- a/config/stylix.nix +++ b/config/stylix.nix @@ -9,7 +9,7 @@ let schemesFile = import ./schemes.nix { inherit pkgs inputs; }; - scheme = schemesFile.schemes.febroary; + scheme = schemesFile.schemes.paul3; cfg = config.my.stylix; gnomeEnabled = config.services.xserver.desktopManager.gnome.enable; in diff --git a/hosts/workstation/configuration.nix b/hosts/workstation/configuration.nix index cc45dfd..0ce08f1 100644 --- a/hosts/workstation/configuration.nix +++ b/hosts/workstation/configuration.nix @@ -20,7 +20,7 @@ in ./hardware-configuration.nix ../../config/base.nix ../../config/stylix.nix - ../../environments/gnome.nix + ../../environments/hyprland.nix ]; my = import ./toggles.nix // { nix.cores = 8; @@ -49,26 +49,18 @@ in }; networking = { hostName = "workstation"; - firewall = - let - kdeconnectPortRange = { + firewall = { + allowedTCPPorts = [ + 6674 # ns-usbloader + 8384 # syncthing + ]; + allowedTCPPortRanges = [ + { from = 1714; to = 1764; - }; - ns-usbloaderPort = 6674; - syncthingPort = 8384; - openPorts = [ - ns-usbloaderPort - syncthingPort - ]; - openPortRanges = [ kdeconnectPortRange ]; - in - { - allowedTCPPorts = openPorts; - allowedUDPPorts = openPorts; - allowedTCPPortRanges = openPortRanges; - allowedUDPPortRanges = openPortRanges; - }; + } + ]; + }; }; users.users.jawz.packages = [ (pkgs.google-cloud-sdk.withExtraComponents [