flake: bump inputs

And fix the breaking changes in Vikunja (which actually make my
configuration simpler).
This commit is contained in:
Bruno BELANYI 2024-03-09 21:49:12 +01:00
parent 9749f0aa28
commit b2dc051e6a
2 changed files with 14 additions and 33 deletions

View file

@ -30,8 +30,6 @@ in
frontendScheme = "https";
frontendHostname = vikunjaDomain;
setupNginx = false;
database = {
type = "postgres";
user = "vikunja";
@ -61,28 +59,11 @@ in
# This is a weird setup
my.services.nginx.virtualHosts = {
${subdomain} = {
# Serve the root for the web-ui
root = config.services.vikunja.package-frontend;
extraConfig = {
locations = {
"/" = {
tryFiles = "try_files $uri $uri/ /";
};
# Serve the API through a UNIX socket
"~* ^/(api|dav|\\.well-known)/" = {
proxyPass = "http://unix:${socketPath}";
extraConfig = ''
client_max_body_size 20M;
'';
};
};
};
socket = socketPath;
};
};
systemd.services.vikunja-api = {
systemd.services.vikunja = {
serviceConfig = {
# Use a system user to simplify using the CLI
DynamicUser = lib.mkForce false;