feat: Enable home-assistant and moved sops llama items

This commit is contained in:
uttarayan21
2025-01-12 17:55:26 +05:30
parent 3914d48af6
commit 4e7955d5fe
3 changed files with 7 additions and 7 deletions

View File

@@ -21,12 +21,6 @@
format = "yaml";
key = "";
};
templates = {
"LLAMA_API_KEY.env".content = ''
LLAMA_API_KEY=${config.sops.placeholder."llama/api_key"}
'';
api_key_env.owner = config.services.caddy.user;
};
};
# Use the systemd-boot EFI boot loader.

View File

@@ -5,7 +5,7 @@
}: {
services = {
home-assistant = {
enable = false;
enable = true;
extraComponents = [
"esphome"
"met"

View File

@@ -2,6 +2,12 @@
sops = {
secrets."llama/api_key".owner = config.services.caddy.user;
secrets."llama/user".owner = config.services.caddy.user;
templates = {
"LLAMA_API_KEY.env".content = ''
LLAMA_API_KEY=${config.sops.placeholder."llama/api_key"}
'';
api_key_env.owner = config.services.caddy.user;
};
};
services = {
ollama = {