ChanServ changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
joesventek has quit [Quit: Quit]
rajivr has joined #home-manager
EncodePanda has joined #home-manager
ece3 has quit [Quit: The Lounge - https://thelounge.chat]
ece3 has joined #home-manager
EncodePanda has quit [Ping timeout: 265 seconds]
mtr has quit [Quit: WeeChat 2.9]
fendse has joined #home-manager
fendse has quit [Client Quit]
fendse has joined #home-manager
superherointj has quit [Quit: Leaving]
joesventek has joined #home-manager
fendse has quit [Quit: Leaving]
EncodePanda has joined #home-manager
EncodePanda has quit [Ping timeout: 264 seconds]
veleiro has quit [Ping timeout: 256 seconds]
EncodePanda has joined #home-manager
EncodePanda has quit [Ping timeout: 246 seconds]
kalbasit_ has joined #home-manager
kalbasit_ has quit [Ping timeout: 256 seconds]
EncodePanda has joined #home-manager
EncodePanda has quit [Ping timeout: 240 seconds]
srk has quit [Remote host closed the connection]
srk has joined #home-manager
cole-h_ has joined #home-manager
cole-h has quit [Ping timeout: 246 seconds]
cole-h_ is now known as cole-h
EncodePanda has joined #home-manager
EncodePanda has quit [Ping timeout: 256 seconds]
EncodePanda has joined #home-manager
cole-h has quit [Ping timeout: 264 seconds]
EncodePanda has quit [Remote host closed the connection]
kalbasit has quit [Ping timeout: 240 seconds]
kalbasit has joined #home-manager
__monty__ has joined #home-manager
veleiro has joined #home-manager
pragma- has joined #home-manager
<pragma-> nf: Very interesting. But this is not for me. Thank you. Good day.
pragma- has left #home-manager ["Bye!"]
__monty__ has quit [Quit: leaving]
srk has quit [Quit: ZNC 1.8.2 - https://znc.in]
srk has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
joesventek has quit [Client Quit]
joesventek has joined #home-manager
joesventek has quit [Client Quit]
joesventek has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
joesventek has quit [Client Quit]
joesventek has joined #home-manager
joesventek has quit [Client Quit]
joesventek has joined #home-manager
joesventek has quit [Client Quit]
joesventek has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
joesventek has quit [Quit: Quit]
Synthetica has joined #home-manager
mcwitt has joined #home-manager
joesventek has joined #home-manager
<mcwitt> Hi, I'm hitting an issue on using hm as a nix-darwin module where 'config.home.profileDirectory' is defaulting to '/var/empty/.nix-profile', though the profile is installed to '~/.nix-profile' as I expected (causing modules that refer to profileDirectory to break). Wondering if it's a known issue or I'm missing something obvious?
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
mcwitt` has joined #home-manager
mcwitt` has left #home-manager [#home-manager]
mcwitt has quit [Ping timeout: 260 seconds]
mcwitt`` has joined #home-manager
mcwitt`` has quit [Ping timeout: 258 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
kalbasit has quit [Ping timeout: 256 seconds]
kalbasit has joined #home-manager
cole-h has joined #home-manager
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
dsal has quit [Ping timeout: 260 seconds]
maralorn has quit [Ping timeout: 260 seconds]
dsal has joined #home-manager
maralorn has joined #home-manager
<ronthecookie> is home.sessionPath broken for anyone else? this doesnt work: https://github.com/ronthecookie/nixfiles/blob/master/modules/home/doom.nix#L24
<piegames> Now that the default value for `home.user` was removed, how can I add it back again? I want to deploy my configuration for multiple users and I can't (easily) if I must hard-code the username.
* piegames doesn't fully understand the motivation for that change tbh
<ronthecookie> figured out what was up with home.sessionPath - need to use an actual login shell for .profile to get sourced
<rycee> piegames: You can add `home.user = builtins.getEnv "USER"` to your configuration to recover the previous behavior.
<piegames> rycee: That's easy, thanks.
<piegames> Any reason why this was changed beyond "it's impure"? Any caveats, edge cases?
<ronthecookie> rycee im guessing its unintended that hm-session-vars.sh doesnt run if you don't login into a shell? i use a display manager so the first shell that runs is my term
<ronthecookie> fun, writing that out loud makes it sound kinda stupid
<rycee> piegames: It was a bad idea to have it in HM since it is super brittle, especially if you are deploying your configuration to a target with a different username than the one you use when deploying.
<piegames> ronthecookie: You need to source it in `/etc/profiles` (or whatever your graphical setup sources when logging you in)
<ronthecookie> one would think that'd be done for me as since on nixos
<ronthecookie> as i'm*
<rycee> ronthecookie: Try putting it into `~/.xprofile`.
<piegames> rycee: Yeah, just thought of that as well. I'll remember to don't do those for now, but I don't think there is a solution that solves both problems :/
<rycee> ronthecookie: If you use HM to manage your X session then it will put it in `~/.xprofile`.
<ronthecookie> i think i am, leeme check
<ronthecookie> lol, i use the nixos xserver and home manager to configure i3
<ronthecookie> how that works is beyond me, anyway that explains that oddity
<ronthecookie> thanks
<ronthecookie> rycee: i'm still a bit confused, do i keep nixos services.xserver enabled or does HM handle it all? im not sure where the border is
<piegames> ronthecookie: The border is: is it per user or system wide? system services are system wide --> NixOS config
<piegames> Those services usually look for configuration in the current user's $HOME by default. Thus, you can (partially) configure them using home-manager.
<ronthecookie> well the login/display manager is system wide but then it doesnt run another X session for the user...right?
<rycee> ronthecookie: My system configuration is more or less:
<ronthecookie> ah I see
<rycee> So you need to enable the system xserver service.
<rycee> I believe xterm is necessary as the desktop manager to make it use `~/.xsession` but I'm not sure if that's still true.
<ronthecookie> huh, no extraPackages on xsession.windowManager.i3, a shame
<ronthecookie> the NixOS version has it
<ronthecookie> rycee: it seems you're right, "Failed to start session" without the xterm line
<rycee> ronthecookie: An alternative if you want a HM entry in your DM is to do something like https://discourse.nixos.org/t/opening-i3-from-home-manager-automatically/4849/8
<ronthecookie> i guess cleaner but it's longer and i'm probably gonna get rid of the DM soon enough, just wanted to get it working for now but neat
<ronthecookie> anyway it works now, thanks!
<rycee> ronthecookie: Cool. glad it turned out OK :-)
* ronthecookie is doing this at ~1am
<ronthecookie> i3 seems to determine the starting workspace with the first workspace keybind it finds and its in the right order here but once HM does its thing it seems to get sorted
<ronthecookie> so the question is: how would I make it order the binds in the right order?
<ronthecookie> sorry, asked too early it seems, just bound F13 to "workspace 1" and that fooled it
Synthetica has quit [Quit: Connection closed for inactivity]