From bccc574ba48356a5f134425b14489cc802d1acf1 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sat, 18 Apr 2026 17:47:23 +0200 Subject: Update c10y --- flake.lock | 88 ++++++++++++++++++----------------------------- flake.nix | 3 +- services/continuwuity.nix | 15 ++++++++ 3 files changed, 51 insertions(+), 55 deletions(-) diff --git a/flake.lock b/flake.lock index 8cc1f0c..ad0b317 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "advisory-db": { "flake": false, "locked": { - "lastModified": 1766324728, - "narHash": "sha256-9C+WyE5U3y5w4WQXxmb0ylRyMMsPyzxielWXSHrcDpE=", + "lastModified": 1775907537, + "narHash": "sha256-vbeLNgmsx1Z6TwnlDV0dKyeBCcon3UpkV9yLr/yc6HM=", "owner": "rustsec", "repo": "advisory-db", - "rev": "c88b88c62bda077be8aa621d4e89d8701e39cb5d", + "rev": "d99f7b9eb81731bddebf80a355f8be7b2f8b1b28", "type": "github" }, "original": { @@ -26,30 +26,31 @@ "nixpkgs": [ "nixpkgs" ], - "treefmt-nix": "treefmt-nix" + "treefmt-nix": [ + "treefmt-nix" + ] }, "locked": { - "lastModified": 1772584363, - "narHash": "sha256-p6dL1wL9n+1ivUItdlZuLxTneDBjCHEdNr0ukau2rHI=", - "ref": "refs/heads/main", - "rev": "2c7233812b6838a6942ca57d5304ed843ce2bb05", - "revCount": 6194, - "type": "git", - "url": "https://forgejo.ellis.link/continuwuation/continuwuity" + "lastModified": 1776471108, + "narHash": "sha256-kNjiqakXrkk/rgL+Cfz5WvR05XXBYvPkBdjQJIOnKss=", + "owner": "continuwuity", + "repo": "continuwuity", + "rev": "01f6893c07cfdc4d866abdc8dbe12c2963cf494b", + "type": "github" }, "original": { - "rev": "2c7233812b6838a6942ca57d5304ed843ce2bb05", - "type": "git", - "url": "https://forgejo.ellis.link/continuwuation/continuwuity" + "owner": "continuwuity", + "repo": "continuwuity", + "type": "github" } }, "crane": { "locked": { - "lastModified": 1766194365, - "narHash": "sha256-4AFsUZ0kl6MXSm4BaQgItD0VGlEKR3iq7gIaL7TjBvc=", + "lastModified": 1775839657, + "narHash": "sha256-SPm9ck7jh3Un9nwPuMGbRU04UroFmOHjLP56T10MOeM=", "owner": "ipetkov", "repo": "crane", - "rev": "7d8ec2c71771937ab99790b45e6d9b93d15d9379", + "rev": "7cf72d978629469c4bd4206b95c402514c1f6000", "type": "github" }, "original": { @@ -88,11 +89,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1766299592, - "narHash": "sha256-7u+q5hexu2eAxL2VjhskHvaUKg+GexmelIR2ve9Nbb4=", + "lastModified": 1775891769, + "narHash": "sha256-EOfVlTKw2n8w1uhfh46GS4hEGnQ7oWrIWQfIY6utIkI=", "owner": "nix-community", "repo": "fenix", - "rev": "381579dee168d5ced412e2990e9637ecc7cf1c5d", + "rev": "6fbc54dde15aee725bdc7aae5e478849685d5f56", "type": "github" }, "original": { @@ -104,11 +105,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1765121682, - "narHash": "sha256-4VBOP18BFeiPkyhy9o4ssBNQEvfvv1kXkasAYd0+rrA=", + "lastModified": 1767039857, + "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", "owner": "edolstra", "repo": "flake-compat", - "rev": "65f23138d8d09a92e30f1e5c87611b23ef451bf3", + "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", "type": "github" }, "original": { @@ -123,11 +124,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1765835352, - "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", + "lastModified": 1775087534, + "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "a34fae9c08a15ad73f295041fec82323541400a9", + "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b", "type": "github" }, "original": { @@ -174,11 +175,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1765674936, - "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", + "lastModified": 1774748309, + "narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", + "rev": "333c4e0545a6da976206c74db8773a1645b5870a", "type": "github" }, "original": { @@ -211,17 +212,17 @@ "nixpkgs": "nixpkgs", "nixpkgs-stable": "nixpkgs-stable", "sops-nix": "sops-nix", - "treefmt-nix": "treefmt-nix_2" + "treefmt-nix": "treefmt-nix" } }, "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1766253897, - "narHash": "sha256-ChK07B1aOlJ4QzWXpJo+y8IGAxp1V9yQ2YloJ+RgHRw=", + "lastModified": 1775843361, + "narHash": "sha256-j53ZgyDvmYf3Sjh1IPvvTjqa614qUfVQSzj59+MpzkY=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "765b7bdb432b3740f2d564afccfae831d5a972e4", + "rev": "9eb97ea96d8400e8957ddd56702e962614296583", "type": "github" }, "original": { @@ -252,27 +253,6 @@ } }, "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "continuwuity", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1766000401, - "narHash": "sha256-+cqN4PJz9y0JQXfAK5J1drd0U05D5fcAGhzhfVrDlsI=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "42d96e75aa56a3f70cab7e7dc4a32868db28e8fd", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, - "treefmt-nix_2": { "inputs": { "nixpkgs": [ "nixpkgs" diff --git a/flake.nix b/flake.nix index 30f0822..4a7716c 100644 --- a/flake.nix +++ b/flake.nix @@ -30,8 +30,9 @@ inputs.nixpkgs.follows = "nixpkgs"; }; continuwuity = { - url = "git+https://forgejo.ellis.link/continuwuation/continuwuity?rev=2c7233812b6838a6942ca57d5304ed843ce2bb05"; + url = "github:continuwuity/continuwuity?tag=5.7.0"; inputs.nixpkgs.follows = "nixpkgs"; + inputs.treefmt-nix.follows = "treefmt-nix"; }; }; diff --git a/services/continuwuity.nix b/services/continuwuity.nix index 5bd249e..50d4d33 100644 --- a/services/continuwuity.nix +++ b/services/continuwuity.nix @@ -72,6 +72,21 @@ in # "users make-user-admin harbinger" # ]; + url_preview_domain_explicit_allowlist = [ + "i.imgur.com" + "cdn.discordapp.com" + "ooye.elisaado.com" + "media.tenor.com" + "media1.tenor.com" + "tenor.com" + "giphy.com" + "cdn.nest.rip" + "ssd-cdn.nest.rip" + "i.github.com" + "github.com" + "wilkuu.xyz" + ]; + # well-known setup well_known = { client = "https://${cfg.host-domain}"; -- cgit v1.3.1