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
Synthetica has quit [Quit: Connection closed for inactivity]
sgraf has joined #home-manager
<sgraf> Hey, I'm using home-manager on NixOS to manage my i3 config. But in order for LightDM to find my preferred none+i3 desktop, I have to actually enable the xserver and i3 NixOS modules, in addition to enabling the i3 module from home-manager. Crucially, I don't enable the xsession module in home-manager (though I use it to configure i.e. my cursor). But this means that xss-lock (part of the screen-locker module) won't be
<sgraf> launched, because it's launched from xsession.initExtra, which isn't generated if I don't enable xsession in home-manager.
<sgraf> The problem is: If I enable xsession in home-manager, My config breaks after a restart when the xserver is restarted. I can't disable the NixOS module because then LightDM won't find i3. How do you work around tihs?
pie_ has quit [Ping timeout: 258 seconds]
pie_ has joined #home-manager
Synthetica has joined #home-manager
<sgraf> Nevermind, I found that I had an ill-formed xss-lock command in .xsession. Fixed that, now I can use xsession.enable = true perfectly