hmpffff has quit [Remote host closed the connection]
hmpffff_ has quit [Ping timeout: 272 seconds]
hmpffff has joined #home-manager
cole-h has quit [Quit: Goodbye]
ardumont has quit [Ping timeout: 272 seconds]
ardumont has joined #home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 256 seconds]
mexisme has quit [Quit: WeeChat 2.7.1]
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 272 seconds]
hmpffff__ has joined #home-manager
hmpffff has quit [Ping timeout: 265 seconds]
__monty__ has joined #home-manager
hmpffff has joined #home-manager
hmpffff__ has quit [Ping timeout: 272 seconds]
<asymmetric>
how do people deal with yaml config files? e.g alacritty color schemes are yaml snippets, and it's tedious having to convert it by hand to nix format for the HM module
<asymmetric>
i guess ideally i'd convert the yaml to json and import that
<asymmetric>
rycee: `builtins.fromJSON (pkgs.runCommand "colors" {} "${pkgs.yq}/bin/yq . < ${./solarized-light-256.yml}");` errors with "value is a set while a string was expected"
<asymmetric>
at builtins.fromJSON, i believe
<rycee>
asymmetric: I guess you'll also need a `builtins.readFile`
<asymmetric>
just to make sure i understand: runCommand evaluates to a derivation in my repl. is the derivation also realized when evaluating runCommand in my config?
<rycee>
Yeah, that should be the case.
<rycee>
It does mean that evaluating your configuration will cause Nix store churn.
<asymmetric>
only when this specific bit of config changes though, right?
<rycee>
It'll be rebuilt if the `solarized-light-256.yml` file or the pkgs.yq derivation changes.
<rycee>
So I wouldn't worry about it :-)
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 265 seconds]
hmpffff has quit [Quit: Bye…]
max34 has joined #home-manager
<max34>
Hi all! Wanted to ask if its possible to use the home manager tool when I'm already importing home-manager as a nixos module? The thing that bugs me is that I need to rebuild the system configuration, which takes about 10 seconds on my machine, just to see the effect of a small change I did to my dotfiles. I image that invoking the home-manager
<max34>
tool would be a lot faster. Or is there another way to approach this?
<NemesisD>
if there's a better way to do that other than forking this expression i'd like to know. i also wonder if i could just provide my own conflicting alacritty package and have it shadow the one this brings in?
<NemesisD>
wait i guess this is probably what overrides are for? i don't know how to do that quite yet
max34 has quit [Remote host closed the connection]
<NemesisD>
haha that works B)
<rycee>
max34: Unfortunately no, the NixOS module and standalone modes are not compatible with each other. At the moment they are "sort of" compatible but at some point in the future it is likely that they'll diverge more.
<rycee>
NemesisD: Yes, overlays are suitable for that purpose.
max34 has joined #home-manager
<max34>
OK, thank you for your answer rycee
<rycee>
max34: There is some work being done on improving the evaluation speed and I suspect there is quite a lot more to gain there if somebody with sufficient knowledge gets time to work on it.
<max34>
Ok, that sounds good :)
max34 has quit [Remote host closed the connection]
energizer_ has joined #home-manager
energizer has quit [Quit: ZNC 1.7.0+deb0+xenial1 - https://znc.in]
energizer_ is now known as energizer
maxsc has joined #home-manager
maxsc has quit [Remote host closed the connection]