aboutsummaryrefslogtreecommitdiff
path: root/hosts/heimdall/modules/default.nix
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-26 11:31:00 -0500
committertdback <tyler@tdback.net>2025-01-26 11:31:00 -0500
commita7c3d07078d0ca67afadd6fb24ab4b60b38c1109 (patch)
treeb214be5bc6bd1ea67c0499ee54ce3ec06565e929 /hosts/heimdall/modules/default.nix
parent63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff)
hosts: overhauled host configurations
Diffstat (limited to 'hosts/heimdall/modules/default.nix')
-rw-r--r--hosts/heimdall/modules/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/hosts/heimdall/modules/default.nix b/hosts/heimdall/modules/default.nix
new file mode 100644
index 0000000..814d1ff
--- /dev/null
+++ b/hosts/heimdall/modules/default.nix
@@ -0,0 +1,17 @@
+{
+ modules = {
+ services.dns = {
+ enable = true;
+ subnet = "10.44.0.0/16";
+ };
+ services.searx.enable = true;
+ scripts.motd = {
+ enable = true;
+ networkInterfaces = [ "eno1" ];
+ servicesToCheck = [
+ "searx"
+ "unbound"
+ ];
+ };
+ };
+}