Adding some more info. I'm using LightDM to launch qtile. I sourced the nix store from a few places: ~/.xsession, ~/.profile, and ~/.zshrc. None have worked in qtile, but ~/.zshrc has worked in the TTY Linux terminal.
On Tuesday, May 12, 2020 at 4:41:54 PM UTC-5, Jack Novotny wrote: > > Nix stores binaries in /nix/store. It's in my path but I'm not exactly > sure where qtile is started from. I installed it from pacman on Arch and > it's not in my .xsession > > On Tuesday, May 12, 2020 at 4:37:53 PM UTC-5, Tycho Andersen wrote: >> >> On Tue, May 12, 2020 at 02:33:51PM -0700, Jack Novotny wrote: >> > I've installed my desired terminal emulator, *alacritty*, with nix. My >> > .zshrc sources my nix_profile so that I can access all packages in it >> when >> > I log into a shell. But when qtile is launched and I configured >> alacritty >> > to be opened on Mod+Enter, nothing happens. I assume this is because >> nix >> > isn't activated before the qtile config is loaded. >> > >> > My question is: How can I activate nix before the qtile config loads, >> so I >> > can launch nix packages from the qtile config? I guess this applies to >> > other PMs like linuxbrew. >> >> Where does nix install things? Presumably you need that in your $PATH; >> you can add it in ~/.xsession or however you start qtile. >> >> Tycho >> > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/a36c73ea-c844-4e78-ac0a-dc31a215ec3e%40googlegroups.com.
