mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-08-13 15:47:08 +02:00
Update Common Problems Adding a trailing in options.nix file and rebuilding breaks flake-rebuild alias
@ -28,6 +28,14 @@ Resolution: Edit zaneyos/options.nix file, set the correct value and use the fla
|
|||||||
|
|
||||||
\[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.
|
Reference in New Issue
Block a user