rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
<pie_> rycee, a bit weird to bring it up after the merge but ok xD https://github.com/rycee/home-manager/issues/606#issuecomment-497490392
<pie_> on the other hand at least theres no pressure to make sure to give input so it can be merged :p
<pie_> i still havent tried any of that stuff myself
<pie_> thanks for the xref though, handy for finding stuff
rycee has quit [Ping timeout: 252 seconds]
offlinehacker has quit [Ping timeout: 252 seconds]
rycee has joined #home-manager
offlinehacker has joined #home-manager
lem0n has joined #home-manager
ardumont has quit [Ping timeout: 258 seconds]
<lem0n> Hi again, I have a question again. When trying to install vscode with extensions, how can I set extension list? I tried nix package vscode-with-extensions to install them but then vscode option in home-manager threw error.
<rycee> lem0n: Which error did you get?
<rycee> lem0n: Did you use the `programs.vscode` module?
<lem0n> There are a couple of collision errors which ends with builder for '/nix/store/b79gk54pg8drds00kjghfcsciw7ypj1r-home-manager-path.drv' failed with exit code 255'
<lem0n> Yes, I have used programs.vscode. Then I added vscode-with-extensions to home.packages with only one extension configured
<rycee> That's probably the cause. If you have `programs.vscode.enable = true` then the module will install vscode using `vscode-with-extensions`.
<rycee> You can put your extension packages in `programs.vscode.extensions`
<lem0n> But how to configure extensions list? I tried using strings but it failed. I don't know how to get extension packages
<rycee> I think something like `programs.vscode.extensions = [ pkgs.vscode-extensions.bbenoist.Nix ]` should work.
<lem0n> That did the trick. Thank you again. I was trying other namespaces.
ardumont has joined #home-manager
<rycee> No worries. I'll add this as an example to the option documentation.
<lem0n> That would make it clear, thanks for this awesome tool by the way.
<rycee> Glad you like it!
lem0n has quit [Quit: Page closed]
liff has quit [Ping timeout: 252 seconds]
<rycee> pie_: Yeah, sorry about merging so suddenly. I had some spare time so wanted to get as much merged as possible. My idea is that any alternative solution would need to support these features anyway.
<pie_> rycee, to be clear im not saying you shouldnt have
<rycee> Thanks for the clarification. I understood that you weren't concerned about it but thought I'd explain myself anyway :-)
<rycee> I switched my own config to use the new options btw and it's worked pretty well :-)
<rycee> Very nice to have a more declarative firefox config.
<benkolera> More Declarative Firefox config?!? Sounds like I should update this morning. :)
<rycee> benkolera: Good luck :-)
<rycee> This is what I've come up with for now: https://gitlab.com/rycee/configurations/blob/master/user/firefox.nix
<benkolera> Cool, thanks for the example! :)
<pie_> \o/
<pie_> rycee, were the buttload of links i posted useful or did you already know this stuff? :P
<pie_> rycee, looks like it would be pretty easy to convert a nested attribute set to that you know <rycee> This is what I've come up with for now: https://gitlab.com/rycee/configurations/blob/master/user/firefox.nix
<pie_> at least, id think#