chiefgoat has quit [Ping timeout: 250 seconds]
chiefgoat has joined #home-manager
andi- has joined #home-manager
mexisme has quit [Ping timeout: 250 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 252 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 250 seconds]
hmpffff has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 276 seconds]
mexisme has joined #home-manager
hmpffff has joined #home-manager
mexisme has quit [Ping timeout: 276 seconds]
chiefgoat has joined #home-manager
chiefgoat has quit [Client Quit]
chiefgoat has joined #home-manager
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 246 seconds]
__monty__ has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
evanjs has joined #home-manager
evanjs has quit [Client Quit]
evanjs has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
ardumont has quit [Ping timeout: 250 seconds]
ardumont has joined #home-manager
evanjs has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
hmpffff has quit [Client Quit]
hmpffff has joined #home-manager
Synthetica has joined #home-manager
johnw has joined #home-manager
<
johnw>
hello! I have a question about home-manager and nixpkgs overlays
<
johnw>
however, when I refer to pkgs.foo in this file, I get the nixpkgs version, and not my overlay'd version
<
johnw>
how can I make sure I'm using the final attr set?
<
infinisil>
johnw: Are you using the NixOS module for HM?
<
johnw>
I'm on darwin
<
johnw>
I use `home-manager switch`
<
__monty__>
There's a nix-darwin module too, it's great!
<
johnw>
The nix-darwin module is now, so I haven't started using it yet
<
johnw>
does anyone have an example of it in use?
<
__monty__>
Hmm, I can't spot a problem with the overlay config.
<
infinisil>
johnw: What happens if you try `overlays = [ (self: super: throw "nope!") ]`
<
__monty__>
Have you tried simplifying it to just `[ (import foo-overlay) ]`? Or infinisil's suggestion, that's probably better.
<
__monty__>
johnw: Lines 4 and 103 onwards re the nix-darwin module.
<
__monty__>
Use a different one if you use a stable darwin channel.
<
johnw>
was hoping to see an example
<
johnw>
I saw the documentation already, wasn't clear to me what that actual means for me
<
__monty__>
All it means for me is home-manager is updated by darwin-rebuild, both the HM version and activating the HM configuration.
<
johnw>
can I see your config __monty__?
<
__monty__>
And you
*could* keep your HM config in your configuration.nix
<
johnw>
infinisil: ok, the throw triggers
mexisme has joined #home-manager
<
johnw>
ah, I see, you just import it into nix-darwin
<
johnw>
I'll have to give that a try today!
<
infinisil>
johnw: Hm okay, where are you getting pkgs from, the top of the file there?
<
infinisil>
And what's the foo in pkgs.foo that doesn't work?
<
johnw>
I'm pushing the throw down, to find out where things break
<
johnw>
ah, never mind, this is entirely user error
<
infinisil>
johnw: So you figured it out?
<
johnw>
but at least I know now that it's not home-manager's problem
<
johnw>
thanks, I should have thought of using breakpoint debugging like this
evanjs has joined #home-manager
<
infinisil>
One of the few strategies that works decently for debugging nix
hmpffff has quit [Quit: nchrrrr…]
<
johnw>
btw, hnix can give you some great stack traces too
<
johnw>
I use that for debugging those recursion failures that give you no information whatsoever
<
johnw>
it's a bug in the way the pass derivation is defined
<
{^_^}>
nixpkgs#73701 (by jwiegley, 4 minutes ago, open): password-store derivation does not properly allow overriding
<
johnw>
hmm.. can't get home-manager via nix-darwin working
<
johnw>
what the home-manager attribute within nix-darwin wants to be set to is uncleare to me
<
johnw>
it's certainly not the result of evaluating my home.nix
<
johnw>
oh well, that didn't work; going back to configuring separately
mexisme has quit [Ping timeout: 276 seconds]
<
infinisil>
johnw: Hm yeah overriding stuff has some problems like these.. It's very easy to accidentally create unoverridable things
hmpffff has joined #home-manager
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 240 seconds]
hmpffff has quit [Quit: nchrrrr…]
mexisme has joined #home-manager