mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
Add adguard
This commit is contained in:
parent
4412ffaa47
commit
d3b021c682
|
@ -26,6 +26,7 @@
|
|||
./programs/comfycamp.nix
|
||||
./programs/phoenix.nix
|
||||
./programs/deluge.nix
|
||||
./programs/adguard.nix
|
||||
];
|
||||
|
||||
# Enable flakes
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
22 # SSH
|
||||
53 # adguard
|
||||
80 # nginx
|
||||
443 # nginx
|
||||
25 # smtp inbound
|
||||
|
@ -19,8 +20,10 @@
|
|||
143 # imap
|
||||
993 # imap
|
||||
6881 # torrents
|
||||
55010 # adguard
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
53 # adguard
|
||||
1900 # jellyfin
|
||||
7359 # jellyfin
|
||||
6881 # torrents
|
||||
|
|
7
nixos/programs/adguard.nix
Normal file
7
nixos/programs/adguard.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }: {
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
mutableSettings = true;
|
||||
settings.bind_port = 55010;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue