aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-03-22 15:55:48 -0400
committertdback <tyler@tdback.net>2025-03-22 15:55:48 -0400
commitf517b4789e6543f77958a143f302ce5d6b5a696e (patch)
treef0df12080f47e40d3eced10dc29c6afef4c9dfc9
parent344d93b7f4aa71b2e02ff6a5287749bb6dccad06 (diff)
frigg: setup secondary dns server
-rw-r--r--flake.nix4
-rw-r--r--hosts/frigg/modules/default.nix27
2 files changed, 4 insertions, 27 deletions
diff --git a/flake.nix b/flake.nix
index 02917ec..a50b2bd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -27,9 +27,7 @@
"profiles/zfs"
"scripts/motd"
"scripts/pushover"
- "scripts/zquota"
- "services/llm"
- "services/sftpgo"
+ "services/dns"
"services/ssh"
])
(mkSystem "heimdall" "x86_64-linux" inputs.nixpkgs [
diff --git a/hosts/frigg/modules/default.nix b/hosts/frigg/modules/default.nix
index a4cc63a..429820b 100644
--- a/hosts/frigg/modules/default.nix
+++ b/hosts/frigg/modules/default.nix
@@ -1,8 +1,4 @@
{
- config,
- ...
-}:
-{
modules = {
customs.cgit = {
enable = true;
@@ -22,36 +18,19 @@
readme = ":README.md";
};
};
- services.llm = {
+ services.dns = {
enable = true;
- port = 11111;
subnet = "10.44.0.0/16";
- nvidiaGpu = true;
- models = [
- "mistral"
- "llama3.2"
- ];
- };
- services.sftpgo = {
- enable = true;
- dataDir = "/tank/sftpgo";
- url = "${config.networking.hostName}.brownbread.net";
+ verbosity = 2;
};
scripts.motd = {
enable = true;
networkInterfaces = [ "enp59s0" ];
servicesToCheck = [
"caddy"
- "ollama"
- "sftpgo"
+ "unbound"
"zfs-zed"
];
};
- scripts.zquota = {
- enable = true;
- quotas = {
- "tank/sftpgo" = 512;
- };
- };
};
}