| 31 Mar 2024 |
@adam:robins.wtf | This is about as simple of a unit as you can make. Possible with just `script` and maybe `path` attributes | 23:33:30 |
Miles Dyson | In reply to @janik0:matrix.org (most people use nixos deployment tools like https://github.com/zhaofengli/colmena but that only makes sense if you start managing more then one device) I do intend to manage multiple devices.
Are there multiple tools?
| 23:33:34 |
@janik0:matrix.org | In reply to @technicus:matrix.org
I do intend to manage multiple devices.
Are there multiple tools?
yes there is like 20 deployment tools, everyone and their dog built one 🙈 | 23:34:02 |
@adam:robins.wtf | Oh no should I not be building a deployment tool? | 23:34:41 |
@janik0:matrix.org | In reply to @adam:robins.wtf Oh no should I not be building a deployment tool? please don't, at this point nixos deployment tools are the equivalent of javascript frameworks in the nix world. | 23:35:24 |
@janik0:matrix.org | what are you missing from other ones? | 23:35:34 |
@adam:robins.wtf | Pull based, no building or eval on end systems | 23:36:05 |
@janik0:matrix.org | In reply to @adam:robins.wtf Pull based, no building or eval on end systems there was one posted on discourse recently doing exactly this iirc | 23:36:24 |
@adam:robins.wtf | Cachix deploy can technically do this, but it’s proprietary | 23:36:32 |
hexa | comin | 23:37:01 |
hexa | https://github.com/nlewo/comin | 23:37:06 |
@janik0:matrix.org | In reply to @hexa:lossy.network comin yeah that one, I forgot the name. | 23:37:21 |
hexa | but you'd probably need a CI and a cache? | 23:37:26 |
@adam:robins.wtf | And it still evals, no? | 23:37:53 |
hexa | most likely, yes | 23:38:07 |
@adam:robins.wtf | Even if you build on CI and push to cache | 23:38:12 |
hexa | you want something that pushes the closure to the machine and switches | 23:38:37 |
@adam:robins.wtf | Pulls but yes | 23:38:48 |
@janik0:matrix.org | wait how would you do the deployment part without evaling anything on the remote host 🤔 | 23:38:52 |
hexa | hmm | 23:39:10 |
@adam:robins.wtf | You can realize a closure from a cache | 23:39:13 |
@janik0:matrix.org | In reply to @adam:robins.wtf Pulls but yes so you want to build your own server saying switch to $system_closure | 23:39:16 |
@janik0:matrix.org | In reply to @adam:robins.wtf Pulls but yes * so you want to build your own server saying switch to $system_closure and the remote pulls that info from the server | 23:39:33 |
@janik0:matrix.org | * so you want to build your own server saying switch to $system_closure and the remote pulls that info from the server? | 23:39:46 |
raitobezarius | i think it's fine to let folks create their own deployment tool | 23:39:56 |
raitobezarius | this should be seen as a success of the nix primitives | 23:40:07 |
@adam:robins.wtf | Janik (they/them) yes that sounds like my initial goal. | 23:40:51 |
@adam:robins.wtf | I do hope to add more than just the deployment step itself | 23:41:27 |
Miles Dyson | So these deployment tools will work over a network? | 23:43:12 |
@adam:robins.wtf | Yes they all do | 23:43:43 |