added port forwards to services
This commit is contained in:
parent
6ab64fafe1
commit
12e1f8067b
3 changed files with 14 additions and 34 deletions
|
@ -3,7 +3,9 @@
|
|||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
dnsPort = 53;
|
||||
in {
|
||||
options.host.pihole = {
|
||||
enable = lib.mkEnableOption "should home-assistant be enabled on this computer";
|
||||
directory = lib.mkOption {
|
||||
|
@ -80,6 +82,9 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
dnsPort
|
||||
];
|
||||
}
|
||||
(lib.mkIf config.host.impermanence.enable {
|
||||
environment.persistence."/persist/system/root" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue