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
cole-h has quit [Ping timeout: 272 seconds]
<pumpy> i got it a little more isolated. when i modify home.nix and run home-manager switch, home-manager is removed from ~/.nix-profile/bin/. is that because my home.nix doesn't have home-manager in it or?
KarlJoad has joined #home-manager
<KarlJoad> Has anyone else been getting a compilation problem with the message "error: attribute 'formats' missing, at /nix/store/38ccl7w0l7094lvxs6iki2gny6f4l56h-master.tar.gz/modules/programs/pet.nix:9:12"?
KarlJoad has quit [Quit: ERC (IRC client for Emacs 26.3)]
<tristan[m]> Yeah I had the exact same error on my mac at some point but I forgot about it and I can't reproduce anymore.
cole-h has joined #home-manager
hmpffff has joined #home-manager
malSet has quit [Quit: Quit.]
malSet has joined #home-manager
devalot has quit [Ping timeout: 260 seconds]
devalot has joined #home-manager
nerdypepper has quit [Quit: bye]
nerdypepper has joined #home-manager
khassanov[m] has joined #home-manager
cole-h has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 240 seconds]
cyphase has joined #home-manager
__monty__ has joined #home-manager
MmeQuignon has joined #home-manager
__monty__ has quit [Quit: leaving]
<pumpy> got it. guess i needed to add programs.home-manager.enable = true; to my home.nix
hmpffff has quit [Ping timeout: 272 seconds]
hmpffff has joined #home-manager
<nicolas[m]> nah that's unrelated
<{^_^}> nix-community/home-manager#1516 (by footearth, 4 weeks ago, open): error: attribute 'formats' missing
<pumpy> my issue nicolas[m]?
<nicolas[m]> Sorry, I meant to reply to Karl
<pumpy> ah
<nicolas[m]> rycee: Would you accept a tree-wide PR replacing `types.attrs` with `types.attrsOf types.anything`?
<nicolas[m]> According to the NixOS manual, `types.attrs` will be deprecated in the future
<nicolas[m]> And there is a lot to gain from it
cole-h has joined #home-manager
MmeQuignon has quit [Quit: WeeChat 2.9]
<rycee> nicolas: I think most remaining uses are waiting for something like a general mergeable recursive attrs type. But if you can replace some or all of them then that would be great. Make one commit per module.
<nicolas[m]> That's what I had in mind
<infinisil> Actually
<infinisil> These is a usecase of types.attrs that's not covered by types.anything yet
<infinisil> Namely things that shouldn't get evaluated at all, because evaluating it might fail
<infinisil> E.g. boot.kernelPackages
<infinisil> You can't use types.anything for that, because that would strictly evaluate the whole set (well at least down to the packages)
<rycee> I imagine it might be safe for the cases in HM?
<infinisil> So I think there needs to be another type like types.rawValue that explicitly says "I don't even look at the value"
* infinisil looks for types.attrs in HM
<infinisil> For just program config it's perfect
<infinisil> misc/lib.nix is a case where types.anything is not appropriate
<infinisil> All other uses of types.attrs should be replaceable with `types.attrsOf types.anything` though (or something more specific)
<infinisil> nicolas[m]: ^
mog has joined #home-manager
<rycee> Great, thanks infinisil :-)
hmpffff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jiribenes has quit [Remote host closed the connection]
pickfire has quit [Ping timeout: 240 seconds]
<pumpy> if i want to install home-manager systemwide can i do that in a file that configuration.nix imports?
pickfire has joined #home-manager