Update Common Problems Adding a trailing in options.nix file and rebuilding breaks flake-rebuild alias

dwilliam62 2024-02-10 22:56:57 +00:00
parent 9072d72377
commit ad830aea29

@ -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'
##
## 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.