aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deploy/flake.lock10
-rw-r--r--flake.lock10
-rw-r--r--flakes/flake.lock8
-rw-r--r--systems/zoldene/base.nix1
-rw-r--r--systems/zoldene/flake.lock6
-rw-r--r--systems/zoldene/logging.nix13
-rw-r--r--systems/zoldene/synapse.nix2
7 files changed, 32 insertions, 18 deletions
diff --git a/deploy/flake.lock b/deploy/flake.lock
index de358ff..4b198c3 100644
--- a/deploy/flake.lock
+++ b/deploy/flake.lock
@@ -2783,7 +2783,7 @@
2783 }, 2783 },
2784 "locked": { 2784 "locked": {
2785 "lastModified": 1, 2785 "lastModified": 1,
2786 "narHash": "sha256-DK32C6dLSeXBxrQx3B6RVyLnqIB6i9trlZlb0vkl7J4=", 2786 "narHash": "sha256-EZcisGqD3wheTJAM1CbcbW1RsNmeIkcGTJrLxD/vP1g=",
2787 "path": "../flakes", 2787 "path": "../flakes",
2788 "type": "path" 2788 "type": "path"
2789 }, 2789 },
@@ -3974,7 +3974,7 @@
3974 }, 3974 },
3975 "locked": { 3975 "locked": {
3976 "lastModified": 1, 3976 "lastModified": 1,
3977 "narHash": "sha256-KHecRLhLGIoNmSBoY/Vfr583tCRf+jxW6Y7HYln1Hoc=", 3977 "narHash": "sha256-191b6BmFlc9NjTu9uVthcaXMQ5vbD5m0SNZEK2L5nBI=",
3978 "path": "../systems/zoldene", 3978 "path": "../systems/zoldene",
3979 "type": "path" 3979 "type": "path"
3980 }, 3980 },
@@ -6374,11 +6374,11 @@
6374 }, 6374 },
6375 "nixpkgs_71": { 6375 "nixpkgs_71": {
6376 "locked": { 6376 "locked": {
6377 "lastModified": 1708475490, 6377 "lastModified": 1720031269,
6378 "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", 6378 "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
6379 "owner": "NixOS", 6379 "owner": "NixOS",
6380 "repo": "nixpkgs", 6380 "repo": "nixpkgs",
6381 "rev": "0e74ca98a74bc7270d28838369593635a5db3260", 6381 "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
6382 "type": "github" 6382 "type": "github"
6383 }, 6383 },
6384 "original": { 6384 "original": {
diff --git a/flake.lock b/flake.lock
index 2a51070..bf3a6b0 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2664,7 +2664,7 @@
2664 }, 2664 },
2665 "locked": { 2665 "locked": {
2666 "lastModified": 1, 2666 "lastModified": 1,
2667 "narHash": "sha256-DK32C6dLSeXBxrQx3B6RVyLnqIB6i9trlZlb0vkl7J4=", 2667 "narHash": "sha256-EZcisGqD3wheTJAM1CbcbW1RsNmeIkcGTJrLxD/vP1g=",
2668 "path": "./flakes", 2668 "path": "./flakes",
2669 "type": "path" 2669 "type": "path"
2670 }, 2670 },
@@ -3990,7 +3990,7 @@
3990 }, 3990 },
3991 "locked": { 3991 "locked": {
3992 "lastModified": 1, 3992 "lastModified": 1,
3993 "narHash": "sha256-KHecRLhLGIoNmSBoY/Vfr583tCRf+jxW6Y7HYln1Hoc=", 3993 "narHash": "sha256-191b6BmFlc9NjTu9uVthcaXMQ5vbD5m0SNZEK2L5nBI=",
3994 "path": "../systems/zoldene", 3994 "path": "../systems/zoldene",
3995 "type": "path" 3995 "type": "path"
3996 }, 3996 },
@@ -6390,11 +6390,11 @@
6390 }, 6390 },
6391 "nixpkgs_71": { 6391 "nixpkgs_71": {
6392 "locked": { 6392 "locked": {
6393 "lastModified": 1708475490, 6393 "lastModified": 1720031269,
6394 "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", 6394 "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
6395 "owner": "NixOS", 6395 "owner": "NixOS",
6396 "repo": "nixpkgs", 6396 "repo": "nixpkgs",
6397 "rev": "0e74ca98a74bc7270d28838369593635a5db3260", 6397 "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
6398 "type": "github" 6398 "type": "github"
6399 }, 6399 },
6400 "original": { 6400 "original": {
diff --git a/flakes/flake.lock b/flakes/flake.lock
index e8924ee..3e5a0a0 100644
--- a/flakes/flake.lock
+++ b/flakes/flake.lock
@@ -3895,7 +3895,7 @@
3895 }, 3895 },
3896 "locked": { 3896 "locked": {
3897 "lastModified": 1, 3897 "lastModified": 1,
3898 "narHash": "sha256-KHecRLhLGIoNmSBoY/Vfr583tCRf+jxW6Y7HYln1Hoc=", 3898 "narHash": "sha256-191b6BmFlc9NjTu9uVthcaXMQ5vbD5m0SNZEK2L5nBI=",
3899 "path": "../systems/zoldene", 3899 "path": "../systems/zoldene",
3900 "type": "path" 3900 "type": "path"
3901 }, 3901 },
@@ -6202,11 +6202,11 @@
6202 }, 6202 },
6203 "nixpkgs_70": { 6203 "nixpkgs_70": {
6204 "locked": { 6204 "locked": {
6205 "lastModified": 1708475490, 6205 "lastModified": 1720031269,
6206 "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", 6206 "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
6207 "owner": "NixOS", 6207 "owner": "NixOS",
6208 "repo": "nixpkgs", 6208 "repo": "nixpkgs",
6209 "rev": "0e74ca98a74bc7270d28838369593635a5db3260", 6209 "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
6210 "type": "github" 6210 "type": "github"
6211 }, 6211 },
6212 "original": { 6212 "original": {
diff --git a/systems/zoldene/base.nix b/systems/zoldene/base.nix
index 1b42a52..947859a 100644
--- a/systems/zoldene/base.nix
+++ b/systems/zoldene/base.nix
@@ -16,6 +16,7 @@ in
16 ./synapse.nix 16 ./synapse.nix
17 ]; 17 ];
18 18
19 programs.ssh.package = pkgs.openssh;
19 services.openssh = { 20 services.openssh = {
20 settings.KbdInteractiveAuthentication = false; 21 settings.KbdInteractiveAuthentication = false;
21 hostKeys = [ 22 hostKeys = [
diff --git a/systems/zoldene/flake.lock b/systems/zoldene/flake.lock
index f07de8c..cbfadf4 100644
--- a/systems/zoldene/flake.lock
+++ b/systems/zoldene/flake.lock
@@ -387,11 +387,11 @@
387 }, 387 },
388 "nixpkgs_5": { 388 "nixpkgs_5": {
389 "locked": { 389 "locked": {
390 "lastModified": 1708475490, 390 "lastModified": 1720031269,
391 "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", 391 "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
392 "owner": "NixOS", 392 "owner": "NixOS",
393 "repo": "nixpkgs", 393 "repo": "nixpkgs",
394 "rev": "0e74ca98a74bc7270d28838369593635a5db3260", 394 "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
395 "type": "github" 395 "type": "github"
396 }, 396 },
397 "original": { 397 "original": {
diff --git a/systems/zoldene/logging.nix b/systems/zoldene/logging.nix
index 2b6e331..398465b 100644
--- a/systems/zoldene/logging.nix
+++ b/systems/zoldene/logging.nix
@@ -102,6 +102,11 @@ in
102 ingestion_burst_size_mb = 200; 102 ingestion_burst_size_mb = 200;
103 per_stream_rate_limit = "100MB"; 103 per_stream_rate_limit = "100MB";
104 per_stream_rate_limit_burst = "200MB"; 104 per_stream_rate_limit_burst = "200MB";
105 # Need to migrate to v13 schema
106 # MULTIPLE CONFIG ERRORS FOUND, PLEASE READ CAREFULLY
107 # 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
108 # 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"
109 allow_structured_metadata = false;
105 }; 110 };
106 111
107 schema_config.configs = [ 112 schema_config.configs = [
@@ -113,6 +118,14 @@ in
113 index.prefix = "index_"; 118 index.prefix = "index_";
114 index.period = "24h"; 119 index.period = "24h";
115 } 120 }
121 {
122 from = "2024-07-08";
123 store = "tsdb";
124 object_store = "filesystem";
125 schema = "v13";
126 index.prefix = "index_";
127 index.period = "24h";
128 }
116 ]; 129 ];
117 }; 130 };
118 }; 131 };
diff --git a/systems/zoldene/synapse.nix b/systems/zoldene/synapse.nix
index cfcdc9a..06a1645 100644
--- a/systems/zoldene/synapse.nix
+++ b/systems/zoldene/synapse.nix
@@ -159,7 +159,7 @@
159 DynamicUser = lib.mkForce false; 159 DynamicUser = lib.mkForce false;
160 User = "matrix-synapse"; 160 User = "matrix-synapse";
161 Group = "matrix-synapse"; 161 Group = "matrix-synapse";
162 RuntimeDirectory = "matrix-synapse"; 162 RuntimeDirectory = lib.mkForce "matrix-synapse";
163 SupplementaryGroups = [ "keys" ]; 163 SupplementaryGroups = [ "keys" ];
164 }; 164 };
165 unitConfig = { 165 unitConfig = {