<jonge[m]>
hi there. how is services.lorri.enable supposed to work? i activated it (seen that i can't start it because it's based on a socket) and when i cd into a folder that is direnv-activated, it tells me "please run lorri watch". shouldn't that be what services.lorri does or did i get the whole idea wrong?
__monty__ has joined #home-manager
<Valodim>
it should
<Valodim>
what does this say?: systemctl --user status lorri.socket
kenjis1 has joined #home-manager
chiefgoat has quit [Read error: Connection reset by peer]
chiefgoat has joined #home-manager
<jonge[m]>
it says that it is active and listening. no error messages.
chiefgoat has quit [Ping timeout: 268 seconds]
<jonge[m]>
do i have to make sure i have some kind of env var set?
chiefgoat has joined #home-manager
<jonge[m]>
when i run `strace lorri direnv` it does not stat the socket file, only some `~/.cache/lorri/` folders and then quits with the error message "please run lorri watch"
<Valodim>
it asks you to run lorri watch?
<Valodim>
that sounds very old, I think lorri daemon has replaced lorri watch for a while now
<jonge[m]>
oh, so let me check first if i have any reminders from an old lorri version...
chiefgoat has quit [Client Quit]
chiefgoat has joined #home-manager
<jonge[m]>
wow. the problem is obviously PEBCAK. i had an overlay pinning lorri from times when lorri was not part of nixpkgs...
<Valodim>
:)
<jonge[m]>
ok sorry for wasting your time Valodim. but your pointer about the old version helped me a lot.
<Valodim>
hth
<jonge[m]>
i have another problem here... i have set `programs.bash.sessionVariables = { ...};` and can confirm that this is written to `~/.profile`. when i start a normal gnome-terminal, it does not seem to source .profile. when i start a tmux session inside the terminal, that sources the .profile
<jonge[m]>
should i configure gnome-terminal to fix this or did i do something wrong on the home-manager level?
<Valodim>
is there a .bash_profile, perhaps?
<jonge[m]>
yes, there is. it is generated by home-manager and it sources .profile
<jonge[m]>
the whole system is quite a fresh install... the gnome-terminal is very out of the box
<Valodim>
so .profile is only supposed to be loaded for login shells
<Valodim>
which is its purpose, compared to .bashrc :)
<Valodim>
it makes sense to me that gnome-terminal wouldn't start a login shell
<Valodim>
now why tmux launches a login shell by default, I don't know
<jonge[m]>
ok, so if tmux would also not start a login shell, i would have an even bigger problem. i set `SSH_AUTH_SOCK` with `programs.bash.sessionVariables` and can't use it without manually sourcing .profile... (or .bash_profile)
<jonge[m]>
so is `sessionVariables` even the right thing to set in my use case?
kenjis1 has quit [Remote host closed the connection]
Synthetica has joined #home-manager
kenjis1 has joined #home-manager
<schmittlauch[m]>
Who else here is using the lorri service? It doesn't work for me on 19.09:
<schmittlauch[m]>
lorri.socket:
<schmittlauch[m]>
Jan 14 13:24:53 thinknix systemd[2231]: Listening on Socket for lorri build daemon.
<schmittlauch[m]>
Jan 14 13:43:28 thinknix systemd[2231]: lorri.socket: Failed with result 'service-start-limit-hit'.
<infinisil>
schmittlauch[m]: Those logs don't contain the actual error, which should be higher up
<schmittlauch[m]>
infinisil: That's the thing: Higher up there is only more of the same
<infinisil>
Oh that's not very good then
<infinisil>
You could try running it in a terminal yourself
<schmittlauch[m]>
infinisil: I might have run into a permission problem due to an already existing socket, but that should have been resolved after a `rm -rf /run/user/1000/lorri`
kenjis1 has quit [Remote host closed the connection]
kenjis1 has joined #home-manager
kenjis1 has quit [Remote host closed the connection]
kenjis1 has joined #home-manager
<schmittlauch[m]>
(but the services and/or systemd socket still doesn't work)
<judson__>
I've been using it without real issues (with HM...)
bgamari has joined #home-manager
<rycee>
jonge: Yeah, sessionVariables should be right. It's what I do. When the session variables change you'll need to relog for them to take effect.
hax404 has quit [Quit: WeeChat 2.6]
hax404 has joined #home-manager
hax404 has quit [Quit: WeeChat 2.6]
hax404 has joined #home-manager
Palpares has joined #home-manager
<Palpares>
hi. how to know the parameters to pass. for example, programs.gpg-agent has defaultCacheTtl (from the readme). where to find out those params?
kenjis1 has quit [Remote host closed the connection]