mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-06 21:36:34 +05:30
30 lines
591 B
Nix
30 lines
591 B
Nix
{lib, ...}: {
|
|
services = {
|
|
vaultwarden = {
|
|
enable = true;
|
|
config = {
|
|
domain = "https://bw.tux.rs";
|
|
enableWebsocket = true;
|
|
signupsAllowed = true;
|
|
disableIconDownload = true;
|
|
};
|
|
};
|
|
|
|
nginx = {
|
|
enable = lib.mkForce true;
|
|
virtualHosts = {
|
|
"bw.tux.rs" = {
|
|
forceSSL = true;
|
|
useACMEHost = "tux.rs";
|
|
locations = {
|
|
"/" = {
|
|
proxyPass = "http://localhost:8000";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|