-
Hello there. I am brand new to Nix and NixOS and am trying to get eww set up using the flake. I have successfully installed eww through home-manager, but when I attempt to open my bar I get an error that states eww was not compiled with support for Wayland. Here is how I am importing eww in my flake.nix:
I include eww in the output parameters in my flake.nix:
This is the relevant snippet from my home configuration:
I was taking a look at the code within the flake and noticed an override that seems like it ought to be able to handle this issue, but I have not a clue how to use it. If somebody could walk me through how I can deal with this I would really appreciate it! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't really know what your flake is supposed to do (output your system configuration?), but I'd suggest that you use the eww-wayland package from nixpkgs. You can do that by adding |
Beta Was this translation helpful? Give feedback.
-
I managed to figure this out. Referring to this individuals dotfiles was very helpful: https://github.com/fufexan/dotfiles. I will explain what ended up working for me for anyone else who may become confused by this. In your flake.nix add eww and the rust overlay as inputs. The rust overlay seems to be necessary so that the nightly toolchain is available to build eww.
Enable eww in your home configuration like like so:
|
Beta Was this translation helpful? Give feedback.
I managed to figure this out. Referring to this individuals dotfiles was very helpful: https://github.com/fufexan/dotfiles. I will explain what ended up working for me for anyone else who may become confused by this.
In your flake.nix add eww and the rust overlay as inputs. The rust overlay seems to be necessary so that the nightly toolchain is available to build eww.
Enable eww…