feat: Added resolved to mirai
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
./searxng.nix
|
||||
./immich.nix
|
||||
./lldap.nix
|
||||
./resolved.nix
|
||||
|
||||
# ./home-assistant.nix
|
||||
# ./jellyfin.nix
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
ENABLE_LOGIN_FORM = "False";
|
||||
WEBUI_URL = "https://llama.darksailor.dev";
|
||||
OPENAI_BASE_URL = "https://ollama.darksailor.dev/v1";
|
||||
OLLAMA_API_BASE_URL = "https://ollama.ryu.darksailor.dev";
|
||||
};
|
||||
environmentFile = "${config.sops.templates."LLAMA_API_KEY.env".path}";
|
||||
};
|
||||
|
||||
9
nixos/mirai/services/resolved.nix
Normal file
9
nixos/mirai/services/resolved.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{...}: {
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
dnssec = "true";
|
||||
dnsovertls = "true";
|
||||
domains = ["lemur-newton.ts.net"];
|
||||
fallbackDns = ["1.1.1.1"];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user