From 1a393c839fe4f7cbf00152a7f7812acbae6612ea Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sun, 14 Jul 2024 21:39:10 +0200 Subject: [PATCH] Update install-nixos.mdx --- src/content/docs/en/installation/install-nixos.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/content/docs/en/installation/install-nixos.mdx b/src/content/docs/en/installation/install-nixos.mdx index 9184b6f..2df2b2a 100644 --- a/src/content/docs/en/installation/install-nixos.mdx +++ b/src/content/docs/en/installation/install-nixos.mdx @@ -44,5 +44,11 @@ sudo nixos-rebuild switch ``` If you get a black screen with blanking cursor, it could occur due to the switching to a different display manager. In this case, reboot your computer and run again `sudo nixos-rebuild switch`. +Instead, if you get at the end an error like `Failed to start Home Manager environment for athena`, run: +``` +journalctl -xeu home-manager-athena.service +``` +You will access to the journalctl logs where you can find a string containing `Existing file...`. Remove the mentioned files and finally run again `sudo nixos-rebuild switch`. + After the switch command is successfully ended, reboot your system.