From 66af1a7c6d0a658049e24270c35973547399c3a4 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 16:32:15 +0100 Subject: [PATCH] Mastodon VM --- flake.lock | 8 ++++---- flake.nix | 10 +++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 36ab7c1d..6a12c8aa 100644 --- a/flake.lock +++ b/flake.lock @@ -1004,11 +1004,11 @@ "pixelfed": "pixelfed" }, "locked": { - "lastModified": 1731083725, - "narHash": "sha256-+wmQoX+EXcxM/94vmc91hvR750SGXFsx3WhSYxHwMHA=", + "lastModified": 1731339393, + "narHash": "sha256-2CTeXvzP3L+uagTOKZkC4OL5D2DIl06FofG7Lb71QtI=", "ref": "refs/heads/main", - "rev": "2d522f51f5b61041a2468ff3bb4eb38704081dbc", - "revCount": 99, + "rev": "8e03b4b34ee46beb94fe7cbab17d2e4537507361", + "revCount": 102, "type": "git", "url": "https://git.fediversity.eu/fediversity/simple-nixos-fediverse.git" }, diff --git a/flake.nix b/flake.nix index 3ec1b0d2..2ba9fb28 100644 --- a/flake.nix +++ b/flake.nix @@ -146,7 +146,15 @@ }; }; - fedi102 = makeProcolixVmResource 102 { }; + fedi102 = makeProcolixVmResource 102 { + fediversity = { + enable = true; + domain = "fedi102.niols.fr"; + mastodon.enable = true; + + temp.cores = 1; # FIXME: should come from NixOps4 eventually + }; + }; fedi103 = makeProcolixVmResource 103 { }; };