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

@ -73,11 +73,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1706830856, "lastModified": 1709336216,
"narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", "narHash": "sha256-Dt/wOWeW6Sqm11Yh+2+t0dfEWxoMxGBvv3JpIocFl9E=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", "rev": "f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -136,11 +136,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1709204054, "lastModified": 1709988192,
"narHash": "sha256-U1idK0JHs1XOfSI1APYuXi4AEADf+B+ZU4Wifc0pBHk=", "narHash": "sha256-qxwIkl85P0I1/EyTT+NJwzbXdOv86vgZxcv4UKicjK8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2f3367769a93b226c467551315e9e270c3f78b15", "rev": "b0b0c3d94345050a7f86d1ebc6c56eea4389d030",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -152,11 +152,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1709150264, "lastModified": 1709703039,
"narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=", "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9099616b93301d5cf84274b184a3a5ec69e94e08", "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -168,11 +168,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1709206595, "lastModified": 1710013455,
"narHash": "sha256-lBU/gE7DiJCNkJGPVUms0zA0hxzDVgENIXfebj1oeLc=", "narHash": "sha256-qzOpU4APTso6JLA+/F4zlO/yL8++n/CsUpmxbQAsy/4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "fbe8df1c13fd8e63e35c2c4654104661eb1fbbed", "rev": "cf1e9b0e085368cc489c765f285f1d07c2ec8d36",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -30,8 +30,6 @@ in
frontendScheme = "https"; frontendScheme = "https";
frontendHostname = vikunjaDomain; frontendHostname = vikunjaDomain;
setupNginx = false;
database = { database = {
type = "postgres"; type = "postgres";
user = "vikunja"; user = "vikunja";
@ -61,28 +59,11 @@ in
# This is a weird setup # This is a weird setup
my.services.nginx.virtualHosts = { my.services.nginx.virtualHosts = {
${subdomain} = { ${subdomain} = {
# Serve the root for the web-ui socket = socketPath;
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;
'';
};
};
};
}; };
}; };
systemd.services.vikunja-api = { systemd.services.vikunja = {
serviceConfig = { serviceConfig = {
# Use a system user to simplify using the CLI # Use a system user to simplify using the CLI
DynamicUser = lib.mkForce false; DynamicUser = lib.mkForce false;