ChanServ changed the topic of #nixus to: Nixus is an experimental deployment tool for NixOS systems - https://github.com/Infinisil/nixus - https://logs.nix.samueldr.com/nixus/
cole-h has quit [Quit: Goodbye]
<eyJhb> infinisil: do you have your configs online?
<eyJhb> Any nixus user available?
<eyJhb> Currently I am getting some weird `anonymous function at /state/home/projects/nixos/nixus-setup/channels/home-manager/default.nix:1:1 called with unexpected argument 'name', at /nix/store/f67pixsmrh2zdj6qax25w2a69hf98ml5-source/lib/modules.nix:228:8` error when I try to setup my nixus env
<infinisil> I can maybe take a look at the problem later
<eyJhb> infinisil: Ended up fixing it, wrong import of home-manager, and I used the unstable unstable nixpkgs version which does not compile atm.
<eyJhb> So I have my first result. But how do you manage deploy locally? Do you run a ssh server as well ?
<eyJhb> Or does it know how to do it without?
<infinisil> eyJhb: I think it needs an ssh server running
<eyJhb> Damn :(
<eyJhb> Is it possible to make nixus split the result into multiple files, one pr. host?
cole-h has joined #nixus
<eyJhb> `[eos] Successfully activated new system!` success!
<eyJhb> cole-h: Ended up using this - https://termbin.com/1n0g
<infinisil> eyJhb: Yeah I think you can just do `nix-build -A config.nodes.<name>.deployScript`
<infinisil> eyJhb: In fact, that's also how you can access all of the configs. E.g. if you want to check the open TCP ports of a node, you can do `nix-instantiate --eval --strict -A config.nodes.<name>.configuration.networking.allowedTCPPorts`
<infinisil> Very useful, and something that nixops doesn't really allow you to do