From 67b81babf24fe03b33aa70d336c4c900010a9e2f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 15 Nov 2023 11:23:36 +0100 Subject: [PATCH] hades: enable lohr --- hosts/hades/default.nix | 5 +++++ hosts/hades/secrets.nix | 2 ++ modules/secrets/lohr/shared-secret.age | 18 +++++++++--------- modules/secrets/secrets.nix | 2 +- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index 0c43bea..1b54f72 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -66,6 +66,11 @@ in { enable = true; }; + lohr = { + enable = true; + port = 8083; + }; + matrix = { enable = true; secretConfigFile = config.age.secrets."matrix-synapse/secret-config".path; diff --git a/hosts/hades/secrets.nix b/hosts/hades/secrets.nix index 40373ec..9f5b3c9 100644 --- a/hosts/hades/secrets.nix +++ b/hosts/hades/secrets.nix @@ -15,6 +15,8 @@ lib.mapAttrs toSecret { "gandi/api-key" = {}; + "lohr/shared-secret" = {}; + "matrix-synapse/secret-config" = { owner = "matrix-synapse"; }; diff --git a/modules/secrets/lohr/shared-secret.age b/modules/secrets/lohr/shared-secret.age index a9dc0f2..9765da2 100644 --- a/modules/secrets/lohr/shared-secret.age +++ b/modules/secrets/lohr/shared-secret.age @@ -1,10 +1,10 @@ age-encryption.org/v1 --> ssh-ed25519 k2gHjw RKzmvlLJzkvoFfPW17H0oSnPk1SZziQxcMCqVQfyQ1A -0R5bcUYcqzJaUHWW0j3EgWnzlOvKmLOA7rIwEjEs+UI --> ssh-ed25519 z6Eu8Q dg3GZIAzPsuXVaV2uRtYNDN+RMBgKaYw4eux13IjQ00 -VJeVMuNxJHiJkwNY/8N9HQ+DTUzmOGPdDUoInlV+ScA --> cq?k-grease >>)4[\ _:DBA*P -LUtE0e0sxIay8ngpt5Y7jD9zNtZbiBTJGvVrzXE/vXOAPwu1e6sUigclYJ3H/wax -Hwnx5zPDSu1BG07dUZeaNQdUpS4l ---- xY+ulUElyTv6MG3VLtkPyrLxav+0C6ifdWfRO14YGl4 -udLr.iӪ9ۇXg9}TNq-E vou֛ȉcE]"ЮA1jZɭ@,wTۯ \ No newline at end of file +-> ssh-ed25519 k2gHjw R7jnkS7fFFSouPgvjrCnyfWNHOanOWKVUDp4Fd2xqFU +MdWD5E8dWfDHqFNTDCqOlyMhwpfEtqhlpnx3opft70w +-> ssh-ed25519 pX8y2g /CAWr94ucfxWKLWQPSQD2fl09TuUZELywWoZgHZS0AY +NeDHZc2ooKl2Bp0nAEY9P/Apdramb2TpHWpx0jkceyk +-> bzN-grease F &,%3jl~w &]8&d*N6 5UJ +58BUbsIwRkkUrNoSbgbMo/o1tKttXP2YWIJs9cbfXrT6XcO+Km0g90LPbYCmsqTZ +pr8TINM2Wd8RQw +--- 7K7sEw2zIWhuR3intlPGFipaVhHli+tWHqmyobRjLYo +oۄ[\lN/X:uN k{ me0A=,h_,4S&9h1/ypaz2рT,RU \ No newline at end of file diff --git a/modules/secrets/secrets.nix b/modules/secrets/secrets.nix index 9f9fc38..524c4d8 100644 --- a/modules/secrets/secrets.nix +++ b/modules/secrets/secrets.nix @@ -14,7 +14,7 @@ let in { "gandi/api-key.age".publicKeys = [alarsyo hades poseidon]; - "lohr/shared-secret.age".publicKeys = [alarsyo poseidon]; + "lohr/shared-secret.age".publicKeys = [alarsyo hades]; "matrix-synapse/secret-config.age".publicKeys = [alarsyo hades];