Synthetica has quit [Quit: Connection closed for inactivity]
mexisme has quit [Ping timeout: 248 seconds]
judson has quit [Ping timeout: 265 seconds]
owenowen has joined #home-manager
owenowen has quit [Remote host closed the connection]
mexisme has joined #home-manager
johnw has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 248 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 240 seconds]
<infinisil>
rycee: I'm just noticing, in your dag library, the function dagEntryBetween takes arguments in the order "before: after:"
<infinisil>
But that's kind of the wrong way around, because if there's A, B and C, and B should happen inbetween A and C, it would have to be created with `dagEntryBetween [ "C" ] [ "A" ]`
<infinisil>
(A, B and C in that order)
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 245 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 246 seconds]
__monty__ has joined #home-manager
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 260 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 252 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 248 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 245 seconds]
username4321 has joined #home-manager
<username4321>
I'm having a bit of a nightmare with my GPG agent right now. I'd imagine it'd be due to me swapping to unstable recently but I just wanted to check for other slip ups or mistakes first >.>
<username4321>
but the service always shows up as Active: inactive (dead) and now has no log output either
<username4321>
At one point it complained in the logs about pinentry being missing now so I installed pinentry-gtk2 again manually but now no logs at all :(
username4321 has quit [Remote host closed the connection]
username4321 has joined #home-manager
<username4321>
Ok fixed by rebuilding to how it was (I couldn't just use an nixos and home-manager revision BC I'd had to rebuilt my boot partition so it has a new UUID :( )
<username4321>
Rebuilt to 19.09 -> reboot -> home-manager switch with gpg false -> reboot -> home-manager switch with gpg true -> reboot -> wait a bit, all good and have logs :)
username4321 has quit [Ping timeout: 260 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 260 seconds]
Synthetica has joined #home-manager
mexisme has joined #home-manager
Valodim has joined #home-manager
mexisme has quit [Ping timeout: 248 seconds]
<Valodim>
hey folks. *marvellous* work on home-manager, been tinkering with it a bit and so far it's everything I expected =)
<Valodim>
I have one question: the readme says home-manager needs to start the graphical session in order to run graphical services and such
<Valodim>
but it doesn't say what exactly that means :)
<Valodim>
I start my x sessions with startx, and set up a bunch of things in .xinitrc
<Valodim>
do I need to run some home-manager thing as a part of that? or do I need to use home-manager instead of startx somehow?
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #home-manager
judson__ has joined #home-manager
judson_ has quit [Ping timeout: 268 seconds]
<rycee>
infinisil: Hmm, yeah the structure field names are not the best. The intent is that `dagEntryBetween before after x` places `x` before `before` and after `after`.
<rycee>
username4321: Yeah, Nixpkgs unstable switched how gpg-agent is set up so it's a bit of a mess. Hopefully it is possible to find some way to make the switch relatively smooth for people before the next release.
<rycee>
Valodim: To run graphical services the `graphical-session-pre.target` and `graphical-session.target` systemd units need to be started.
mexisme has joined #home-manager
<rycee>
(unfortunately NixOS does this incorrectly so HM first have to stop graphical-session.target before starting it up again)
<rycee>
In any case, if you want to do it manually you need to make sure `${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh` is sourced, the right session variables imported into the systemd user session, then start up `graphical-session-pre`, followed by `graphical-session`.
<rycee>
This is essentially what the HM xsession module does.
<rycee>
Which writes the `.xsession` file…
<rycee>
I don't know if `.xinitrc` runs `.xsession`…
mexisme has quit [Ping timeout: 248 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 260 seconds]
judson_ has joined #home-manager
judson__ has quit [Ping timeout: 268 seconds]
judson__ has joined #home-manager
judson_ has quit [Read error: Connection reset by peer]
kenjis has joined #home-manager
<infinisil>
rycee: Well in my copy of the dag module I'll switch before and after around because that seems more natural
mexisme has joined #home-manager
<simpson>
In the end, neither orientation of a DAG/poset is the natural one. It's all about cultural expectations.
<rycee>
I can't recall why I made that specific choice but indeed I don't think of it as particularly import. The phrases "Sunday is before Monday and after Saturday" seems equally fine as "Sunday is after Saturday and before Monday" to me.
<rycee>
But "between" is ambiguous. Perhaps the function should have been called `dagEntryBeforeAndAfter`?
<infinisil>
Hm perhaps, I still think the other order would be more natural though, so I'd be for dagEntryAfterAndBefore
kenjis has quit [Remote host closed the connection]
<rycee>
Yeah, I think that would be fine and I agree that it probably is more natural for most.
<rycee>
HM never actually uses that function so I've never used it in anger :-)
mexisme has quit [Ping timeout: 258 seconds]
mexisme has joined #home-manager
kenjis has joined #home-manager
Synthetica has quit [Quit: Connection closed for inactivity]