feat: Update to another model for llama and added basic_auth
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -64,6 +64,9 @@
|
||||
'';
|
||||
virtualHosts."llama.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy localhost:3000
|
||||
basicauth / {
|
||||
import htpasswd ${config.sops.secrets."llama/user".path}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user