5 Common Problems
dwilliam62 edited this page 2024-02-10 22:56:57 +00:00

These are pretty easy to run into issues with not necessarily my Flake, can be, but could also just be Flakes or NixOS in general.

No default/fallback boot loader

File system "/boot" is not a FAT EFI System Partition (ESP) file system.
systemd-boot not installed in ESP.
No default/fallback boot loader installed in ESP.

This error is caused by installing using MBR and not UEFI. It is important to use GPT and UEFI when installing the system. If you get this error just reinstall ensuring you are correcting booting and installing using UEFI.

Hyprland Plugins Fail: (headers ver in not equal...

pluginheadervermismatch

This can happen after updates. Don't freak out, you just need to reboot so the headers can be reloaded.

Waybar does not load after a flake-rebuild

This issue can be caused by setting a waybar style value to an invalid value. As of the time of this writing, there are two options in the options.nix file. style1 and style2 If you set that value to anything else waybar will not run, nor will the waybar configuration be installed

waybarStyle = "style1"; # can be style1-2

Resolution: Edit zaneyos/options.nix file, set the correct value and use the flake-rebuild alias.

[WARN] - (starship::utils): Executing command "/run/wrappers/bin/XXXX" timed out.

WARN

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.