infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #home-manager
klntsky has quit [Ping timeout: 256 seconds]
klntsky has joined #home-manager
infinisil is now known as duh
duh is now known as infinisil
iceypoi has joined #home-manager
iceypoi has quit [Quit: WeeChat 2.4]
ardumont has quit [Ping timeout: 245 seconds]
ardumont has joined #home-manager
benkolera has quit [Read error: Connection reset by peer]
benkolera has joined #home-manager
ardumont has quit [Ping timeout: 250 seconds]
mog has quit [Read error: Connection reset by peer]
mog has joined #home-manager
mog has quit [Quit: im quiting!]
mog has joined #home-manager
judson has quit [Remote host closed the connection]
judson has joined #home-manager
Kuba has joined #home-manager
<Kuba>
Hello everyone. I am new to nix and just got stuck on this...
<Kuba>
I have cloned and changed one nixos-config and can't get home-manager working. The original author uses some methods around imports and I just can't get it working.
<Kuba>
OOOOh, my bad. I haven't import the __nixPath
ardumont has joined #home-manager
Kuba has quit [Ping timeout: 256 seconds]
ardumont has quit [Ping timeout: 246 seconds]
ardumont has joined #home-manager
leira has joined #home-manager
ardumont has quit [Ping timeout: 255 seconds]
<leira>
I'm using Nix on Mac. If I use Home Manager to manage my bash, that I have programs.bash.enable = true, .profile is generated by home manager. Now hm-session-vars.sh is sourced, but ~/.nix-profile/etc/profile.d/nix.sh is not sourced.
<leira>
Of course I can add ~/.nix-profile/etc/profile.d/nix.sh to .profile manually, but that defeat the purpose of using home manager
<leira>
How do u guys solve this?
<rycee>
leira: You can add `programs.bash.profileExtra = ". ~/.nix-profile/etc/profile.d/nix.sh"` to your configuration.
ardumont has joined #home-manager
<leira>
Thanks~ I suppose that should work. But my question is, is it because on NixOS, nix.sh is already sourced from /etc/profile?
<rycee>
On NixOS the nix.sh file is not used at all as far as I know. The variables and such that it sets are handled differently in NixOS.
<leira>
Then maybe home manager should be smart enough to add that line for non NixOS?
<rycee>
Yeah, I guess if the target system is darwin then it should be safe to source it.