From f517b4789e6543f77958a143f302ce5d6b5a696e Mon Sep 17 00:00:00 2001 From: tdback Date: Sat, 22 Mar 2025 15:55:48 -0400 Subject: frigg: setup secondary dns server --- flake.nix | 4 +--- hosts/frigg/modules/default.nix | 27 +++------------------------ 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,7 +1,3 @@ -{ - config, - ... -}: { modules = { customs.cgit = { @@ -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; - }; - }; }; } -- cgit v1.2.3