redefining custom networking namespace
This commit is contained in:
1 parent
a1eb9b74c2
commit
b5b66f1c1b
3 files changed
+6
-6
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user