aboutsummaryrefslogtreecommitdiff
path: root/modules/retired/blocky
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
committertdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
commit88017f5a874478dd82f306a5df88c38a8d06fcb6 (patch)
tree8806c58c4f21bb6a56d8530df8a93b256d44b4f3 /modules/retired/blocky
parent01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff)
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'modules/retired/blocky')
-rw-r--r--modules/retired/blocky/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/retired/blocky/default.nix b/modules/retired/blocky/default.nix
index ca58f4f..302ef8e 100644
--- a/modules/retired/blocky/default.nix
+++ b/modules/retired/blocky/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ lib, pkgs, ... }:
{
services.blocky = {
enable = true;
@@ -11,10 +11,10 @@
"149.112.112.112"
];
};
- bootstrapDns = [{
+ bootstrapDns = lib.singleton {
upstream = "https://dns.quad9.net/dns-query";
ips = [ "9.9.9.9" ];
- }];
+ };
ports = {
dns = 53;
tls = 853;
@@ -87,7 +87,11 @@
};
networking.firewall = {
- allowedTCPPorts = [ 53 443 853 ];
+ allowedTCPPorts = [
+ 53
+ 443
+ 853
+ ];
allowedUDPPorts = [ 53 ];
};
}