rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 265 seconds]
romanofski has joined #home-manager
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #home-manager
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #home-manager
cole-h has quit [Quit: Goodbye]
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 272 seconds]
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 240 seconds]
__monty__ has joined #home-manager
romanofski has quit [Quit: ZNC 1.7.4 - https://znc.in]
romanofski has joined #home-manager
Ericson2314 has quit [Quit: killed]
mmatthieu has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
siraben has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
kyren has quit [Quit: killed]
rycee has quit [Quit: killed]
dtz has quit [Quit: killed]
aterius has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
offlinehacker has quit [Quit: killed]
simbergm has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
jschievink has quit [Quit: killed]
Dandellion has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
benkolera has quit [Quit: killed]
ZerataX has quit [Quit: killed]
maralorn has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
siraben has joined #home-manager
Ox4A6F has joined #home-manager
simbergm has joined #home-manager
ZerataX has joined #home-manager
kyren has joined #home-manager
rycee has joined #home-manager
schmittlauch[m] has joined #home-manager
Ericson2314 has joined #home-manager
hpfr[m] has joined #home-manager
Dandellion has joined #home-manager
tbenst[m] has joined #home-manager
offlinehacker has joined #home-manager
benkolera has joined #home-manager
jschievink has joined #home-manager
dtz has joined #home-manager
alexarice[m] has joined #home-manager
Notkea[m] has joined #home-manager
philipp[m] has joined #home-manager
mmatthieu has joined #home-manager
maralorn has joined #home-manager
aterius has joined #home-manager
jonge[m] has joined #home-manager
__monty__ has quit [Read error: Connection reset by peer]
__monty__ has joined #home-manager
luc65r has joined #home-manager
luc65r has quit [Ping timeout: 272 seconds]
luc65r has joined #home-manager
hax404 has quit [Ping timeout: 246 seconds]
luc65r has quit [Ping timeout: 272 seconds]
luc65r has joined #home-manager
luc65r has quit [Ping timeout: 272 seconds]
luc65r has joined #home-manager
hax404 has joined #home-manager
max34 has joined #home-manager
<max34> Hi all! I'm trying to append to the PATH variable in my home environment and I seem only to be able to do so by setting home.sessionVariables.PATH = ... I added a corresponding export statement to my .xprofile which doesn't have any effect, although hm-session-vars.sh, which sets the variables defined in home.sessionVariables, is sourced from this
<max34> file. I'm really puzzled why this isn't working :S Btw, I have set fish shell as my user shell and I don't want to use home.sessionVariables.PATH because I want to construct this variable from different files (or maybe there is a way to do this in nix?)
Shados_ has joined #home-manager
Shados has quit [Read error: Connection reset by peer]
<rycee> max34: Can you share some of your configuration? In particular, what do you mean by "I added a corresponding export statement to my .xprofile"
<max34> I have this in my home.nix file:
<max34> xsession.profileExtra = '' export PATH=$PATH:${builtins.toPath ../doom-emacs/bin} '';
<max34> Which doesn't work, but this works: home.sessionVariables.PATH = "$PATH:${builtins.toPath ../doom-emacs/bin}";
<rycee> max34: The `xsession.profileExtra` doesn't work in the sense that the line is missing from `.xprofile`?
<max34> No, it is there
<max34> I just don't see the effect of it
<rycee> Did you relog?
<max34> Namely I echo $PATH in a terminal
<max34> and it's not showing up
<rycee> And do you have `xsession.enable = true`?
<max34> What do you mean by relog?
<max34> Yes
<rycee> You must log out and back in for changes to .xprofile and hm-session-vars.sh to become active.
<rycee> Since they are session variables they are tied to your current login session.
<max34> I know :)
<max34> I did that as well
<rycee> Hmm. Ok, are you on NixOS?
<max34> The weird thing for me is that home.sessionVariables actually works
<max34> I also tried putting the export statement into .profile
<max34> Since that also seems to be sourced from .xprofile
<max34> Yes, I'm on nixos and I use home manager as a nixos module
<rycee> Yeah, does seem a bit odd. You could try adding some debug printing in .xprofile or .profile and check if it shows up in the journal?
<max34> Sure
max34 has quit [Remote host closed the connection]
max34 has joined #home-manager
<max34> xsession[417]: export PATH=/run/wrappers/bin:/home/max/.nix-profile/bin:/etc/profiles/per-user/max/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/home/max/Projects/nix-config/doom-emacs/bin
<max34> So the debug statement does show up..
max34 has quit [Remote host closed the connection]
max34 has joined #home-manager
<max34> This is my ~/.xprofile: pastebin.com/0FPkVNmK
cole-h has joined #home-manager
Shados_ has quit [Quit: Shados_]
Shados has joined #home-manager
<rycee> max34: Then I don't really know what is going on. Are you always checking for the PATH variable in a shell? Perhaps the shell always acts as a login shell and overrides the PATH variable?
<rycee> max34: Could you try checking the PATH variable inside an X session but not inside a shell?
s1341 has quit [Quit: Connection closed for inactivity]
max34 has quit [Remote host closed the connection]
<energizer> i am not able to log in graphically. i have xsession = {enable = true; windowManager.i3.enable = true; }; at the display manager, when i try to log in it fails to log in
<rycee> energizer: I'm sorry, you have to provide some more information about what the problem is. Failing logins can happen for many reasons.
<energizer> looks like my .zprofile had an improperly set NIX_PATH which was messing everything up
<energizer> given the absence of helpful logs in journalctl and .xsession-errors, not sure how i woulda debugged that without infinisil's instincts, but glad it's resolved now. :-)
<rycee> Ah, cool. Glad it worked out for the best :-)
luc65r has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
evanjs- has joined #home-manager
evanjs has quit [Ping timeout: 265 seconds]
dsal has joined #home-manager
<dsal> I tried home-manager on OS X today and it didn't end well. I'm not quite sure what the state is. Should it work at all?
<infinisil> Yeah it should, heard of people using it on macos
<dsal> Let me try again and see if it produces any helpful output.