add cyberchef and correct things in nixos containers
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
cfg = config.smayzy.containers.nixos.httpd;
|
||||
net = config.smayzy.containers.networking;
|
||||
in
|
||||
{
|
||||
options.smayzy.containers.nixos.httpd = {
|
||||
@@ -32,6 +33,8 @@ in
|
||||
services.httpd = {
|
||||
enable = true;
|
||||
};
|
||||
networking.defaultGateway = net.gateway;
|
||||
networking.nameservers = net.dns;
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
cfg = config.smayzy.containers.nixos.unbound;
|
||||
net = config.smayzy.containers.networking;
|
||||
in
|
||||
{
|
||||
options.smayzy.containers.nixos.unbound = {
|
||||
@@ -61,6 +62,8 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.defaultGateway = net.gateway;
|
||||
networking.nameservers = net.dns;
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user