From 8e6cfe461c0eb2e68d6545f9b9b5f348256e11d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 15 Jan 2023 10:39:38 +0000 Subject: [PATCH] highlight the removal command --- content/posts/2023/01/mastodon-nixos.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/2023/01/mastodon-nixos.md b/content/posts/2023/01/mastodon-nixos.md index c07c176..76f1da3 100644 --- a/content/posts/2023/01/mastodon-nixos.md +++ b/content/posts/2023/01/mastodon-nixos.md @@ -19,7 +19,7 @@ Few things that were unexpected/of note - I needed to change the postgres port that is running inside of the Mastodon container because I had another postgres on this host already. - If you're gonna be playing with this a lot, you might need to remove the container and its data and start from scratch - you can do so by doing: - remove the container definition and `nixos-rebuild switch` - - rm -fr /var/lib/nixos-containers/mastodon/ * + - `rm -fr /var/lib/nixos-containers/mastodon/` - to use Mastodon CLI you need to be running it as a correct user and within the Nix-changed env: ```bash nixos-container root-login mastodon