Skip to content

Nix flake - How do I use eww-wayland? #961

Answered by Kodlak15
Kodlak15 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

# Flake.nix
{
  inputs = {
    eww = {
      url  = "github:elkowar/eww";
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.rust-overlay.follows = "rust-overlay";
    };

    rust-overlay = {
      url = "github:oxalica/rust-overlay";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  ...
  ...
  ...
}

Enable eww…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Kodlak15
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Kodlak15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants