Skip to content

Using eww with home-manager #620

Closed Answered by Shados
eclairevoyant asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, if the canonicalization of the config directory path is dropped, it should work fine. Not clear to me why the config directory path should be canonical here, instead of merely normalised, although I'm guessing it's because Rust's stdlib still doesn't have a Path::normalize function. cargo-util has an appropriate function, internally used by Cargo.

As a work-around on the home-manager side of things, you could try this: programs.eww.configDir = config.lib.file.mkOutOfStoreSymlink "~/.config/eww". This will result in the symlink chain HM produces pointing directly to the out-of-Nix-store configuration directory, instead of copying the directory into the store. Upsides: the canonical p…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@eclairevoyant
Comment options

@eclairevoyant
Comment options

@viandoxdev
Comment options

@eclairevoyant
Comment options

Answer selected by eclairevoyant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants