feat: Update to another model for llama and added basic_auth

This commit is contained in:
uttarayan21
2024-11-22 14:31:08 +05:30
parent e3b567c9fc
commit 6e134aa467
3 changed files with 10 additions and 2 deletions

View File

@@ -17,6 +17,9 @@
sops.secrets."nextcloud/adminpass" = {
owner = config.users.users.nextcloud.name;
};
sops.secrets."llama/user" = {
owner = config.users.users.llama.name;
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;

View File

@@ -64,6 +64,9 @@
'';
virtualHosts."llama.darksailor.dev".extraConfig = ''
reverse_proxy localhost:3000
basicauth / {
import htpasswd ${config.sops.secrets."llama/user".path}
}
'';
};
}