sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #home-manager
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #home-manager
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cole-h has quit [Quit: Goodbye]
sheeldotme has joined #home-manager
malSet has joined #home-manager
<teto>
problem with setting variables such as $MPV_HOME is that you need a relogin for changes to propagate. and wrapping would be deceiptive. Best to leave it to user then (or you could provide a module that does that).
dermetfan has joined #home-manager
asymptotically has joined #home-manager
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KarlJoad has joined #home-manager
__monty__ has joined #home-manager
KarlJoad has quit [Quit: Konversation terminated!]
<theduke>
But yeah I understand that it's problematic from a intuitive package design perspective that also minimizes quirks
<theduke>
In my custom setup I used wrapping or set global env vars.
<theduke>
But I do have to say home-manager is brilliant. Saves so much work and effort necessary for a reproducible setup
<theduke>
ps: I switched to Nix quite a few months ago, but initially decided against home-manager and wrote a lot of custom packages because I didn't want "yet another tool".
<theduke>
👍️
<theduke>
But I do have to say home-manager is brilliant. Saves so much work and effort necessary for a reproducible user setup
<theduke>
* ps: I switched to Nix quite a few months ago, but initially decided against home-manager and wrote a lot of custom packages because I didn't want "yet another tool".
<theduke>
👍️
cole-h has joined #home-manager
toraritte has joined #home-manager
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
rschulman has joined #home-manager
sheeldotme has joined #home-manager
onsails has joined #home-manager
<onsails>
Hello!
<onsails>
I am learning nix by adopting home-manager. Successfully migrated my windows (wsl), cloud linux workstation and laptop to home-manager, love it! I even managed to handle customisation based on machine and role types. But I don't fully understand why imports work in a way they work.
<cole-h>
onsails: I'd imagine because one is getting evaluated before the other. I don't think Nix-the-language has any ordering guarantees in that regard (or at least when dealing with types.lines)
<rycee>
onsails: The merge order across modules is a bit complex and depends on how the fix point is reached. It is best not to rely on things happening in a specific order across module files.
<cole-h>
^
<onsails>
I see, thanks
<rycee>
You can control it a bit using priorities. So if you want the TEST one first then you should be able to write something like `program.zsh.envExtra = lib.mkBefore '' export TEST=foo;'';`
<onsails1>
Perfect, thanks! But I get it that such implicit dependencies aren't a good practice. I'll try to find a way to get rid of that dependency, making declarations more atomic.
onsails has quit [Remote host closed the connection]