firewall symplification + theme adjustments
All checks were successful
Build All Color Schemes / build-schemes (push) Successful in 13m10s

This commit is contained in:
Danilo Reyes 2025-10-03 09:51:11 -06:00
parent 988f53bd46
commit 04019415bd
3 changed files with 13 additions and 21 deletions

View File

@ -63,7 +63,7 @@ in
image = "${wallpapers}/febroary.jpg"; image = "${wallpapers}/febroary.jpg";
}; };
paul3 = mkScheme { paul3 = mkScheme {
color = "yellow"; color = "bluegrey";
name = "mexico-light"; name = "mexico-light";
polarity = "light"; polarity = "light";
image = "${wallpapers}/paul3.jpg"; image = "${wallpapers}/paul3.jpg";

View File

@ -9,7 +9,7 @@ let
schemesFile = import ./schemes.nix { schemesFile = import ./schemes.nix {
inherit pkgs inputs; inherit pkgs inputs;
}; };
scheme = schemesFile.schemes.febroary; scheme = schemesFile.schemes.paul3;
cfg = config.my.stylix; cfg = config.my.stylix;
gnomeEnabled = config.services.xserver.desktopManager.gnome.enable; gnomeEnabled = config.services.xserver.desktopManager.gnome.enable;
in in

View File

@ -20,7 +20,7 @@ in
./hardware-configuration.nix ./hardware-configuration.nix
../../config/base.nix ../../config/base.nix
../../config/stylix.nix ../../config/stylix.nix
../../environments/gnome.nix ../../environments/hyprland.nix
]; ];
my = import ./toggles.nix // { my = import ./toggles.nix // {
nix.cores = 8; nix.cores = 8;
@ -49,25 +49,17 @@ in
}; };
networking = { networking = {
hostName = "workstation"; hostName = "workstation";
firewall = firewall = {
let allowedTCPPorts = [
kdeconnectPortRange = { 6674 # ns-usbloader
8384 # syncthing
];
allowedTCPPortRanges = [
{
from = 1714; from = 1714;
to = 1764; 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 = [ users.users.jawz.packages = [