From 6b6d2a699114933598403e38741f2af3781b38a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Mon, 11 Nov 2024 17:17:56 +0100 Subject: [PATCH] Pixelfed VM --- flake.lock | 8 ++++---- flake.nix | 15 ++++++++++++++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 6a12c8aa..6716be5c 100644 --- a/flake.lock +++ b/flake.lock @@ -1004,11 +1004,11 @@ "pixelfed": "pixelfed" }, "locked": { - "lastModified": 1731339393, - "narHash": "sha256-2CTeXvzP3L+uagTOKZkC4OL5D2DIl06FofG7Lb71QtI=", + "lastModified": 1731341458, + "narHash": "sha256-n6OJFaUtqRgzu5pFsk3di2AadSpudWjF5QXIcUKgu4c=", "ref": "refs/heads/main", - "rev": "8e03b4b34ee46beb94fe7cbab17d2e4537507361", - "revCount": 102, + "rev": "49473c43c85e167e5ef0b1deccdfb40664774ec5", + "revCount": 104, "type": "git", "url": "https://git.fediversity.eu/fediversity/simple-nixos-fediverse.git" }, diff --git a/flake.nix b/flake.nix index 2ba9fb28..2e029e00 100644 --- a/flake.nix +++ b/flake.nix @@ -156,7 +156,20 @@ }; }; - fedi103 = makeProcolixVmResource 103 { }; + fedi103 = makeProcolixVmResource 103 ( + { pkgs, ... }: + { + fediversity = { + enable = true; + domain = "fedi103.niols.fr"; + peertube.enable = true; + + temp.peertubeSecretsFile = pkgs.writeText "secret" '' + 574e093907d1157ac0f8e760a6deb1035402003af5763135bae9cbd6abe32b24 + ''; + }; + } + ); }; }; };