!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

621 Members
NixOS ❤️ systemd171 Servers

Load older messages


SenderMessageTime
4 Mar 2025
@emilazy:matrix.orgemily we could just move the store into /usr. 14:26:32
@emilazy:matrix.orgemilyI bet that would make Poettering happy.14:26:41
@arianvp:matrix.orgArian yeh but we’ll have to move /nix/var to /var then 14:26:44
@arianvp:matrix.orgArian Honestly how much breaks when we’d set NIX_STORE=/usr/store ? 14:27:01
@nickcao:nichi.coNick Cao /usr/store 14:27:04
@arianvp:matrix.orgAriandid anyone ever try??14:27:06
@nickcao:nichi.coNick CaoSo the length is the same14:27:07
@emilazy:matrix.orgemily make it /usr/local/nix and I'll spend Darwin capital on the paint for the bikeshed 14:27:27
@arianvp:matrix.orgAriansure. gotta rebuild the world. but that’s… fine14:27:30
@nickcao:nichi.coNick Caosed the world actually14:27:43
@emilazy:matrix.orgemilyalternate store directories are nominally supported. the Nix on Droid thing uses them14:27:44
@emilazy:matrix.orgemilythere are packages that hard-code it but not that many. probably NixOS makes more assumptions14:28:10
@emilazy:matrix.orgemilyno fundamental obstacle, to my knowledge14:28:10
@arianvp:matrix.orgArian can you build for a /usr/store on a /nix/store system? 14:28:11
@arianvp:matrix.orgArianlike. how do you bootstrap this14:28:18
@emilazy:matrix.orgemilyI think you need a separate daemon14:28:20
@willi:butz.cloudWilli Butz/usr/nix/store definitely works as is, with a ro-bind to /nix/store (done with the verity repart module)14:28:26
@lily:lily.flowersLily Foster
In reply to @emilazy:matrix.org
alternate store directories are nominally supported. the Nix on Droid thing uses them
(nix on droid also does sketchy bwrapping to pretend it's at /nix/store iirc)
14:28:27
@emilazy:matrix.orgemily can't use bwrap on Android. I think PRoot is involved 14:28:51
@arianvp:matrix.orgArianthat’s in. stage-2. I’m talking about the nix store in the initramfs willi14:29:00
@lily:lily.flowersLily Foster
In reply to @emilazy:matrix.org
can't use bwrap on Android. I think PRoot is involved
yeah that, proot
14:29:04
@emilazy:matrix.orgemilybut I swear I've seen an Android Nix thing that just uses the weird Android directory directly14:29:05
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
yeah that, proot
(apologies, too tired this morning)
14:29:13
@willi:butz.cloudWilli Butz
In reply to @arianvp:matrix.org
that’s in. stage-2. I’m talking about the nix store in the initramfs willi
ah, got it. doesn't help because the bind mount cant be setup by tooling that resides in the yet to be mounted store %)
14:30:18
@flokli:matrix.orgflokli
In reply to @emilazy:matrix.org
that's what Tvix is doing, afaik
No, nix is using a merkle structure data format that's also better in seek access than nar ;-)
14:31:18
@flokli:matrix.orgflokli* No, tvix is using a merkle structure data format that's also better in seek access than nar ;-)14:34:38
@emilazy:matrix.orgemily:)14:35:55
@emilazy:matrix.orgemilyhow has FUSE performance been?14:36:01
@flokli:matrix.orgflokliFUSE is just one lens of seeing it. If you get a super hot store path where perf becomes an issue, use EROFS to serve this one?14:37:02
@raitobezarius:matrix.orgraitobezarius(FUSE also is getting a bunch of eBPF-based performance improvements)14:37:18

Show newer messages


Back to Room ListRoom Version: 6