From ad830aea29dd8e7d9fdb553b3106dec7c88ec381 Mon Sep 17 00:00:00 2001 From: dwilliam62 Date: Sat, 10 Feb 2024 22:56:57 +0000 Subject: [PATCH] Update Common Problems Adding a trailing in options.nix file and rebuilding breaks flake-rebuild alias --- Common-Problems.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Common-Problems.md b/Common-Problems.md index 7d1b1c3..88e3e4a 100644 --- a/Common-Problems.md +++ b/Common-Problems.md @@ -26,8 +26,16 @@ Resolution: Edit zaneyos/options.nix file, set the correct value and use the fla ## \[WARN\] - (starship::utils): Executing command "/run/wrappers/bin/_XXXX_" timed out. - \[WARN\] - (starship::utils): Executing command "/run/wrappers/bin/sudo" timed out. \[WARN\] - (starship::utils): You can set command_timeout in your config to a higher value to allow longer-running commands to keep executing. +\[WARN\] - (starship::utils): Executing command "/run/wrappers/bin/sudo" timed out. \[WARN\] - (starship::utils): You can set command_timeout in your config to a higher value to allow longer-running commands to keep executing. - Using sudo, or changing into a directory with a GIT repository are common ways this error is generated. You can extend the command timeout in the \~/zaneyos/config/home/files/starship.toml Add command_timeout = 1000 at the top of the file. Then rebuild ZaneyOS 'flake-rebuild' +Using sudo, or changing into a directory with a GIT repository are common ways this error is generated. You can extend the command timeout in the \~/zaneyos/config/home/files/starship.toml Add command_timeout = 1000 at the top of the startship.toml file. Then rebuild ZaneyOS 'flake-rebuild' -## \ No newline at end of file +## Flake-rebuild error: '/home/_username_//zaneyos#nixosConfigurations."xxxxx".config.system.build.nixos-rebuild' is not a valid URL + +If you options.nix file you have a trailing '/' after the username + +`# YOU MUST CHANGE THIS` + + `userHome = "/home/USERNAME/; <<---- REMOVE trailing '/'` + + Once you have edited the file you must do a rebuild using the nixos-rebuid command. In the zaneyos directory run: **sudo nixos-rebuild switch --flake .** After rebooting the flake-rebuild alias will work again. \ No newline at end of file