gchristensen changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/ https://meet.jit.si/NixOpsReview
njha has joined #nixops
raghavsood has quit [Ping timeout: 245 seconds]
<njha> If I deploy `example.nix` with `nixops deploy -d example` and `example.nix` imports other files, will those get pulled in too?
<njha> Also am I correct to assume that `example.nix` is the equivalent of `/etc/nixos/configuration.nix` in a normal deployment?
<njha> also, is this the extent of the documentation on nixops?
<njha> It doesn't even mention what a .nixops file is, or how to make one
<njha> just tells you some commands and there's a code snippet (that goes... somewhere?)
raghavsood has joined #nixops
<typetetris> Good morning!
<typetetris> Is there a way to test a network nix expression before doing deploy? (Just wether it compiles?)
<colemickens> does nixops intentionally still likn to google groups? (or nixops-aws at least)
<typetetris> Strange: nixops check lists `proc-sys-fs-binfmt_misc.mount` as failed, but `systemctl list-units --state=failed` doesn't list anything?
<typetetris> nixops hangs on `prod> setting up tmpfiles`
cole-h has quit [Quit: Goodbye]
manveru has quit [Ping timeout: 260 seconds]
manveru has joined #nixops
<davidtwco> Had an issue with a colleague where running nixops deploy wasn't working (doing "stateless deploys" w/ a local SSH key, not the statefile key) because the ssh key was just in ~/.ssh and not added to an SSH agent - any ways around that?
<hpfr[m]> Some stuff involving keys was recently merged but idk if it solves your issue off the top of my head
<hpfr[m]> I think I get the design behind nixery but is there a web frontend where I can browse the registry on the example instance nixery.dev? How do I know what images are available?
<adisbladis> davidtwco: Not on NixOps 1.7, it is possible on NixOps master but unless you're interested in actively hacking on NixOps I wouldn't recommend it quite yet.
cole-h has joined #nixops
<davidtwco> adisbladis: thanks!
<adisbladis> gchristensen: Let me be a bit vague and excited at the same time ;) What do you think this is
<adisbladis> { myhost = { ... }: { deployment.transport = "local"; }}
<cole-h> adisbladis:
<cole-h> 👀
<cole-h> Is this what I think it is?
<adisbladis> Yes it is =)
<cole-h> That's super cool
<adisbladis> The question is how this overlaps/interacts with targetEnv
<adisbladis> I think maybe this is really something that should go in targetEnv
<adisbladis> I think it is
<adisbladis> cole-h: Any opinion?
<adisbladis> gchristensen: ^ ?
<gchristensen> I'm not sure it is really within the scope of nixops (though I'll be back tomorrow for clearer thinking)
<adisbladis> gchristensen: Why not?
<adisbladis> Anyway, just check back tomorrow
<cole-h> I'd say targetEnv just because I don't see "transport" anywhere in the codebase x)
<adisbladis> Yeah, I think targetEnv is the right thing =)
andi- has quit [Quit: WeeChat 2.8]
andi- has joined #nixops
<cole-h> Messing around with nixops and I just tried to `nixops rollback 1`. After successfully copying closures, I get "Exception: Bug: Deployment.definitions is None." -- any ideas?
<cole-h> (This is running from master)