!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

579 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org159 Servers

Load older messages


SenderMessageTime
31 Mar 2024
@adam:robins.wtf@adam:robins.wtf Oh no should I not be building a deployment tool? 23:34:41
@janik0:matrix.org@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@janik0:matrix.orgwhat are you missing from other ones?23:35:34
@adam:robins.wtf@adam:robins.wtf Pull based, no building or eval on end systems  23:36:05
@janik0:matrix.org@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@adam:robins.wtf Cachix deploy can technically do this, but it’s proprietary  23:36:32
@hexa:lossy.networkhexacomin23:37:01
@hexa:lossy.networkhexahttps://github.com/nlewo/comin23:37:06
@janik0:matrix.org@janik0:matrix.org
In reply to @hexa:lossy.network
comin
yeah that one, I forgot the name.
23:37:21
@hexa:lossy.networkhexabut you'd probably need a CI and a cache?23:37:26
@adam:robins.wtf@adam:robins.wtf And it still evals, no? 23:37:53
@hexa:lossy.networkhexamost likely, yes23:38:07
@adam:robins.wtf@adam:robins.wtf Even if you build on CI and push to cache 23:38:12
@hexa:lossy.networkhexayou want something that pushes the closure to the machine and switches23:38:37
@adam:robins.wtf@adam:robins.wtf Pulls but yes  23:38:48
@janik0:matrix.org@janik0:matrix.orgwait how would you do the deployment part without evaling anything on the remote host 🤔23:38:52
@hexa:lossy.networkhexahmm23:39:10
@adam:robins.wtf@adam:robins.wtf You can realize a closure from a cache  23:39:13
@janik0:matrix.org@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@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@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:matrix.orgraitobezariusi think it's fine to let folks create their own deployment tool23:39:56
@raitobezarius:matrix.orgraitobezariusthis should be seen as a success of the nix primitives23:40:07
@adam:robins.wtf@adam:robins.wtf Janik (they/them) yes that sounds like my initial goal.  23:40:51
@adam:robins.wtf@adam:robins.wtf I do hope to add more than just the deployment step itself 23:41:27
@technicus:matrix.orgMiles DysonSo these deployment tools will work over a network?23:43:12
@adam:robins.wtf@adam:robins.wtf Yes they all do 23:43:43
@hexa:lossy.networkhexa
In reply to @raitobezarius:matrix.org
this should be seen as a success of the nix primitives
just like PEP517 ❤️
23:43:54
@hexa:lossy.networkhexa
In reply to @raitobezarius:matrix.org
this should be seen as a success of the nix primitives
* just like PEP517 ❤️🐍
23:44:09
@janik0:matrix.org@janik0:matrix.org
In reply to @raitobezarius:matrix.org
i think it's fine to let folks create their own deployment tool
ofc, I'm of the opinion if you don't bring unique things why bother building a new one (except for learning purposes) if you can instead contribute to a existing ones, but that's my personal stance to most foss software in general.
23:44:11

Show newer messages


Back to Room ListRoom Version: 10