]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Bump zoldene version
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 7 Jul 2024 00:37:52 +0000 (02:37 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 7 Jul 2024 00:42:45 +0000 (02:42 +0200)
deploy/flake.lock
flake.lock
flakes/flake.lock
systems/zoldene/base.nix
systems/zoldene/flake.lock
systems/zoldene/logging.nix
systems/zoldene/synapse.nix

index de358ff79bee7f2c5bb15474f35893aea1887e4f..4b198c36969b3b28e7f6c51bdcc15dea0cb095fe 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-DK32C6dLSeXBxrQx3B6RVyLnqIB6i9trlZlb0vkl7J4=",
+        "narHash": "sha256-EZcisGqD3wheTJAM1CbcbW1RsNmeIkcGTJrLxD/vP1g=",
         "path": "../flakes",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-KHecRLhLGIoNmSBoY/Vfr583tCRf+jxW6Y7HYln1Hoc=",
+        "narHash": "sha256-191b6BmFlc9NjTu9uVthcaXMQ5vbD5m0SNZEK2L5nBI=",
         "path": "../systems/zoldene",
         "type": "path"
       },
     },
     "nixpkgs_71": {
       "locked": {
-        "lastModified": 1708475490,
-        "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
+        "lastModified": 1720031269,
+        "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "0e74ca98a74bc7270d28838369593635a5db3260",
+        "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
         "type": "github"
       },
       "original": {
index 2a51070894892f873f3f45ca35fdf87fc8bf33ef..bf3a6b0ef534b7272eefaf8de619f555be227e6c 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-DK32C6dLSeXBxrQx3B6RVyLnqIB6i9trlZlb0vkl7J4=",
+        "narHash": "sha256-EZcisGqD3wheTJAM1CbcbW1RsNmeIkcGTJrLxD/vP1g=",
         "path": "./flakes",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-KHecRLhLGIoNmSBoY/Vfr583tCRf+jxW6Y7HYln1Hoc=",
+        "narHash": "sha256-191b6BmFlc9NjTu9uVthcaXMQ5vbD5m0SNZEK2L5nBI=",
         "path": "../systems/zoldene",
         "type": "path"
       },
     },
     "nixpkgs_71": {
       "locked": {
-        "lastModified": 1708475490,
-        "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
+        "lastModified": 1720031269,
+        "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "0e74ca98a74bc7270d28838369593635a5db3260",
+        "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
         "type": "github"
       },
       "original": {
index e8924ee4bfcf92a7692d0abd64fa51f8e06ebb20..3e5a0a01b5cc524b3fd9191279b88be9de98bcd3 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-KHecRLhLGIoNmSBoY/Vfr583tCRf+jxW6Y7HYln1Hoc=",
+        "narHash": "sha256-191b6BmFlc9NjTu9uVthcaXMQ5vbD5m0SNZEK2L5nBI=",
         "path": "../systems/zoldene",
         "type": "path"
       },
     },
     "nixpkgs_70": {
       "locked": {
-        "lastModified": 1708475490,
-        "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
+        "lastModified": 1720031269,
+        "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "0e74ca98a74bc7270d28838369593635a5db3260",
+        "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
         "type": "github"
       },
       "original": {
index 1b42a523c29ea1b9169b7c3b1c26c947f0ac7239..947859a972d35dad4f732a64ce652e101b5ae398 100644 (file)
@@ -16,6 +16,7 @@ in
     ./synapse.nix
   ];
 
+  programs.ssh.package = pkgs.openssh;
   services.openssh = {
     settings.KbdInteractiveAuthentication = false;
     hostKeys = [
index f07de8c959739c4c46b583d19b689502aa7132e6..cbfadf43b76e4dae07217bea51d94a76f4ceafa5 100644 (file)
     },
     "nixpkgs_5": {
       "locked": {
-        "lastModified": 1708475490,
-        "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
+        "lastModified": 1720031269,
+        "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "0e74ca98a74bc7270d28838369593635a5db3260",
+        "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
         "type": "github"
       },
       "original": {
index 2b6e331126a09d3b2507c6b46391e79a2be5d8c3..398465b16ca2b482ec71be41e655d4543f621f5d 100644 (file)
@@ -102,6 +102,11 @@ in
         ingestion_burst_size_mb = 200;
         per_stream_rate_limit = "100MB";
         per_stream_rate_limit_burst = "200MB";
+        # Need to migrate to v13 schema
+        # MULTIPLE CONFIG ERRORS FOUND, PLEASE READ CAREFULLY
+        # CONFIG ERROR: schema v13 is required to store Structured Metadata and use native OTLP ingestion, your schema version is v11. Set `allow_structured_metadata: false` in the `limits_config` section or set the command line argument `-validation.allow-structured-metadata=false` and restart Loki. Then proceed to update to schema v13 or newer before re-enabling this config, search for 'Storage Schema' in the docs for the schema update procedure
+        # CONFIG ERROR: `tsdb` index type is required to store Structured Metadata and use native OTLP ingestion, your index type is `boltdb-shipper` (defined in the `store` parameter of the schema_config). Set `allow_structured_metadata: false` in the `limits_config` section or set the command line argument `-validation.allow-structured-metadata=false` and restart Loki. Then proceed to update the schema to use index type `tsdb` before re-enabling this config, search for 'Storage Schema' in the docs for the schema update procedure"
+        allow_structured_metadata = false;
       };
 
       schema_config.configs = [
@@ -113,6 +118,14 @@ in
           index.prefix = "index_";
           index.period = "24h";
         }
+        {
+          from = "2024-07-08";
+          store = "tsdb";
+          object_store = "filesystem";
+          schema = "v13";
+          index.prefix = "index_";
+          index.period = "24h";
+        }
       ];
     };
   };
index cfcdc9a73ff12fb0d66afdf465ccf6d4f0897cd3..06a1645af68a47d8abcbc20e59cb87ae36bdc982 100644 (file)
         DynamicUser = lib.mkForce false;
         User = "matrix-synapse";
         Group = "matrix-synapse";
-        RuntimeDirectory = "matrix-synapse";
+        RuntimeDirectory = lib.mkForce "matrix-synapse";
         SupplementaryGroups = [ "keys" ];
       };
       unitConfig = {