<{^_^}>
nix-community/nixops-libvirtd#9 (by onixie, 13 weeks ago, open): Network resource support for libvirt backend
<adisbladis>
gchristensen: Hmm
<adisbladis>
God, the docs around this are confusing
<adisbladis>
Lgtm and seems to work
<cole-h>
Not necessarily nixops related, but I'm rebuilding my kernel (and with it v4l2loopback) so I'll be able to hop on next time a review session happens ;^)
<adisbladis>
But I'm not sure I grok the what `allocation` is really supposed to represent
<monokrome>
so I guess I should permit root login? O_o
<gchristensen>
yeah
<monokrome>
ok
<monokrome>
ty ^.^
<monokrome>
when I run "nixops deploy -d mycluster", what password is it asking for?
<monokrome>
oh I guess it's just my SSH password
<monokrome>
gchristensen: Does it replace the entire nixos configuration?
<monokrome>
or does it just add whatever is over /etc/nixos/configuration.nix?
<gchristensen>
it completely ignores /etc/nixos/configuariton.nix and any other nix config on the target machine
<gchristensen>
you'll need to replicate both configuartion.nix and the hardware-configuariton.nix in to your network.nix
<danderson>
I... think I asked this before, but: is there some escape hatch where the configs are _somewhere_ on the machine, so I can do and nixos-rebuild if I have to for whatever reason?
<danderson>
(no specific scenario in mind, I just have trust issues with deployment tools, from bitter experience :D)
<monokrome>
can I still use the same imports?
<gchristensen>
danderson: no
meh` has quit [Ping timeout: 258 seconds]
<monokrome>
hmm seems like maybe I can =^.^=
<monokrome>
that's pretty cool
<gchristensen>
danderson: you could carefully construct your configuration to work like that, though
<monokrome>
wow it worked =^.^= !!!!
<monokrome>
how cool!
<gchristensen>
just copied the files over and imported them?
<gchristensen>
energizer: well, usually I want to build on my powerful build machine and deploy from there -- using minimal remote resources. an option to build on the remote would probably be pretty cool.
<energizer>
gchristensen: ah, so the idea is it builds "locally", but in common cases local builds are actually run on separate build machines
<energizer>
right?
<energizer>
and the target machines can be given access to some build cache where the build machines placed the completed builds, so my little laptop doesn't need to actually transfer any of the built artifacts to the remotes
<energizer>
is that the normal workflow?
<monokrome>
gchristensen: So, just to make sure, when I reboot my physical machine it'll boot into the new builds from nixops now?
<monokrome>
like I can just delete /etc/nixos?
<energizer>
supposing you say yes. is there some flag i can use to ensure the data doesn't flow through my laptop, like --force-targets-use-caches
<gchristensen>
you never needed /etc/nixos to boot anyway :)
<monokrome>
yeah but I just wanted to make sure it was overwriting the config like I think
<monokrome>
and not doing something weird
<monokrome>
seems like it is :D
<monokrome>
so cool
<energizer>
still interested in the answers to those questions if anybody has ideas