redefining custom networking namespace

This commit is contained in:
Wyatt J. Miller 2025-01-04 19:07:36 -05:00
parent a1eb9b74c2
commit b5b66f1c1b
3 changed files with 6 additions and 6 deletions

View File

@ -23,6 +23,7 @@ in {
../../apps/gaming.nix
../../graphics
../../pwrMgmt
../../networking/core.nix
../../sound/pipewire.nix
../../sound/shairport.nix
../../virtualization/podman.nix
@ -140,7 +141,7 @@ in {
};
# Core networking module (see ../../networking/core.nix)
networking = {
network = {
firewall.enable = true;
networkmanager.enable = true;
};

View File

@ -85,7 +85,7 @@
};
# Core networking module (see ../../networking/core.nix)
networking = {
network = {
firewall.enable = true;
networkmanager.enable = true;
};

View File

@ -3,10 +3,9 @@
lib,
...
}: let
cfg = config.networking;
cfg = config.network;
in {
options.networking = {
# Firewall Configuration
options.network = {
firewall = {
enable = lib.mkEnableOption {
type = lib.types.bool;
@ -111,7 +110,7 @@ in {
};
config = {
networking.firewall = {
network.firewall = {
enable = cfg.firewall.enable;
allowedTCPPorts =