!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms294 Servers

Load older messages


SenderMessageTime
13 May 2024
@dolcetriade:matrix.orgDolceTriadeI run it on k8s with an https proxy in front to integrate with our existing atuh18:37:46
@dolcetriade:matrix.orgDolceTriade * I run it on k8s with an https proxy in front to integrate with our existing auth18:37:48
@dolcetriade:matrix.orgDolceTriade * I run it on k8s with an https proxy in front to integrate with our existing auth (sqlite + filesystem storage)18:38:00
@paddi:cryne.mePaddi ⚡️ joined the room.19:01:22
@danielle:fairydust.spacedanielle
In reply to @tc424:glasgow.social
Need to add NATS to my ever growing "things to check out" list
I've been using nats a bit lately and it's pretty solid
19:12:33
@raitobezarius:matrix.orgraitobezarius
In reply to @charles:computer.surgery
"write a binary cache" is on my to do list
you could also just use tvix or make it a thing in lix
19:13:23
@raitobezarius:matrix.orgraitobezariusi think the binary cache impl should be more or less very sibling to the nix impl19:13:41
@charles:computer.surgeryCharlesnot sure what you mean19:13:43
@raitobezarius:matrix.orgraitobezariusI think most of the features of a binary cache should be in a Nix implementation19:14:47
@raitobezarius:matrix.orgraitobezariusAnd then you can carve out various frontends / slight customizations on the top of it IMHO19:15:13
@danielle:fairydust.spacedanielle
In reply to @raitobezarius:matrix.org
I think most of the features of a binary cache should be in a Nix implementation
only if you want your storage and your logic to be the same thing tho
19:15:37
@raitobezarius:matrix.orgraitobezariusIdeally, I'd like to see a way to expose any store as a binary cache in frictionless way19:15:40
@raitobezarius:matrix.orgraitobezarius
In reply to @danielle:fairydust.space
only if you want your storage and your logic to be the same thing tho
Your logic can be added on the top IMHO
19:16:10
@raitobezarius:matrix.orgraitobezariusLike if you want authnz, auth, etc. There should be a way to compose existing tools?19:16:27
@qyriad:katesiria.orgQyriad technically a binary cache can take multiple forms; at least one of them should be built in to Nix 19:16:43
@raitobezarius:matrix.orgraitobezarius(generally, I'd like to see the concept of cache combinators)19:16:44
@samrose:matrix.orgsamroseIf there is anything people can do to help that are not part of the core team, please let us know. 19:19:50
@raitobezarius:matrix.orgraitobezarius

to expand on my thoughts, indeed, binary cache means so many things, I think what would be interesting is:

  • nix has interesting and strong store backends: filesystem, S3, etc.

  • each one of them can be exposed on a reasonable protocol (HTTP/3, etc. whatever) using nix itself

  • nix can handle certain operations by itself which are reasonable: signing store paths (via PKCS#11 or local signing stuff), etc.

  • deduplication should be fundamental & baked-in

  • multi-tenancy should ideally be just multiple nix stores (maybe they can share blocks or something whatever)

  • you can bring your own reverse proxy for auth, authnz based on your "usecase" logic

  • etc.

19:20:41
@raitobezarius:matrix.orgraitobezarius obviously, you can run a S3 binary cache without nix being around 19:21:04
@raitobezarius:matrix.orgraitobezarius
In reply to @samrose:matrix.org
If there is anything people can do to help that are not part of the core team, please let us know.
I recommend looking at https://git.lix.systems/lix-project/lix/issues?q=&type=all&state=open&labels=154&milestone=0&assignee=0&poster=0
19:21:28
@qyriad:katesiria.orgQyriad
In reply to @samrose:matrix.org
If there is anything people can do to help that are not part of the core team, please let us know.
anyone is welcome to contribute! we have a meeting being planned to work out proper governance structure Soon™️ so the "core team" at least as it is right now is largely an interim construct. identifying issues, writing docs or editing the wiki, or code contributions themselves are all very very welcome. on the flip side please let us know if there's anything we can do to help onboard!
19:22:26
@raitobezarius:matrix.orgraitobezarius
In reply to @raitobezarius:matrix.org

to expand on my thoughts, indeed, binary cache means so many things, I think what would be interesting is:

  • nix has interesting and strong store backends: filesystem, S3, etc.

  • each one of them can be exposed on a reasonable protocol (HTTP/3, etc. whatever) using nix itself

  • nix can handle certain operations by itself which are reasonable: signing store paths (via PKCS#11 or local signing stuff), etc.

  • deduplication should be fundamental & baked-in

  • multi-tenancy should ideally be just multiple nix stores (maybe they can share blocks or something whatever)

  • you can bring your own reverse proxy for auth, authnz based on your "usecase" logic

  • etc.

(and maybe let me add that i'd like it to be easy to make super-stores by composing a list of stores with any URI format)
19:22:28
@aria.rip:matrix.orgaria (she/it) changed their display name from aria to aria (she/it).19:38:17
@jkachmar:matrix.orgjkachmar
In reply to @raitobezarius:matrix.org
i think the binary cache impl should be more or less very sibling to the nix impl

this is sort of what the tvix approach is, right?

the store should be a defined component with its own semantics and a clear interface, at which point a lot of other stuff can be implemented on top of this rather than through the current monolithic Nix binary application (e.g. binary caching, the build tool, various bits of UI on top of the store)

19:42:33
@raitobezarius:matrix.orgraitobezariuscorrect19:57:44
@dantefromhell:matrix.orgdantefromhell joined the room.20:01:59
@tc424:glasgow.social@tc424:glasgow.socialOh https://github.com/brianmcgee/nvix20:18:40
@tc424:glasgow.social@tc424:glasgow.social
In reply to @tc424:glasgow.social
Oh https://github.com/brianmcgee/nvix
Linked from https://bmcgee.ie/posts/2023/10/nvix-implementing-a-tvix-store-with-nats/
20:20:49
@mangoiv.:matrix.orgMangoIV
In reply to @delroth:delroth.net
the flakes implementation in Lix is arguably more stable than Nix, who broke several user-facing APIs completely through bugs in the past 2-3 versions
That’s partially why I was asking, but no answer is good enough as an answer for me now then. I’ll keep watching :)
20:53:03
@fomosapien:matrix.orgTriskelion changed their display name from Triskelion to Triskelion (AFK).21:26:26

Show newer messages


Back to Room ListRoom Version: 10