<aleph->
infinisil: I'm going to have to translate this to rust, you bastard :P
lejonet has quit [Client Quit]
<infinisil>
aleph-: Should be doable, I think :D
lejonet has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-chat
drakonis1 has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-chat
drakonis2 has joined #nixos-chat
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis has quit [Ping timeout: 258 seconds]
drakonis1 has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos-chat
drakonis2 has quit [Ping timeout: 258 seconds]
Myhlamaeus has quit [Ping timeout: 258 seconds]
lejonet has quit [Quit: WeeChat 1.9.1]
lejonet has joined #nixos-chat
__monty__ has joined #nixos-chat
<pie_>
you know what would be cool
<pie_>
if one day nixos makes it *easier* for new people to learn things
<pie_>
well ok depending on what youre doing it already does
<pie_>
you just have to learn nix first
obadz has quit [Ping timeout: 246 seconds]
<jD91mZM2_>
Lmao so I'm migrating /nix to a separate, non-snapshotted, ZFS dataset. I used rsync so I could get some progress, but forgot the flag that preserves hard links. As it ate my space I realized my mistake and fixed it, and now ZFS is giving me free space
<jD91mZM2_>
Sorry, ZFS is not the thing that is giving me space, I mean rsync copying
jD91mZM2_ is now known as jD91mZM2
obadz has joined #nixos-chat
<jD91mZM2>
I apparently forgot how to english overnight. What I'm trying to say is between two `zfs list` invocations, I'm getting more space left (20G free to 34G free!) by copying things with rsync. Probably because rsync is replacing the duplicates with hard links
<pie_>
shouldnt zfs deduplicate by default though? :thinking: maybe you have to scrub or something
<jD91mZM2>
pie_: Hmm maybe! I haven't turned it on myself so I don't know. Or maybe there's something strange going on here, it's been copying for so long I almost wonder if it's stuck in some symbo- Oh it's done never mind
<tilpner>
No, zfs dedup is not on by default
<tilpner>
(And shouldn't be, with the current implementation)
<pie_>
tilpner, that would have been my next guess
<pie_>
why not?
<tilpner>
It's very expensive, and ordinary datasets barely benefit from it
<pie_>
ah
<jD91mZM2>
Oh shit, I failed to copy over the nix store! I entered a root shell, copied out "mv", moved the original nix store to /nix3. But now I'm trying to move the copy, /nix2, to /nix. But `mv` says no such file or directory... I forgot linux interpreter. Guess it's time to enter a live disk even though I tried hard to not have to do that :P
<__monty__>
Can't you just call /nix3/something...something/mv?
thefloweringash has joined #nixos-chat
<infinisil>
__monty__: That binary will have /nix/store/... as its interpreter too, so I don't think that would work
<MichaelRaskin>
You can call interpreter by full path
<MichaelRaskin>
And with some LD_LIBRARY_PATH, I guess
<pie_>
jD91mZM2, dumb idea, can you just symlink in the store?
<Ralith>
of course first you have to find it
<MichaelRaskin>
Tab completion
<Ralith>
great for those times you've memorized the hash :p
<MichaelRaskin>
Or when shell can expand wildcard on Tab
<joepie91[m]>
aminechikhaoui: it probably just cross-references the system's installed package set against repology and a CVE database
<joepie91[m]>
(and/or other known-vuln DBs)
<pie_>
infinisil, man zpool for the "multihost" parameter kind of might explain why nix wants a host id for zfs, but it seems to default to off?
<infinisil>
Ahh yeah good find
<infinisil>
NixOS can't know whether it's on or off though, so defaulting to the safer choice seems like a good idea
<pie_>
ive been vaguely pondering if nix was more machine friendly (?) i wonder if we could do like...constraint solving and stuff
<MichaelRaskin>
And preferably usable as-is on Debian stable (with correctly working Nix and checked out Nixpkgs and unlimited space) as much as practical
<MichaelRaskin>
I have exactly 4 setuid wrappers on my system, and I wonder if I can give up one of them in practice
<MichaelRaskin>
(and I build the wrapper by grapping source from NixOS tree)
<infinisil>
Ah you even commented on that PR
<MichaelRaskin>
It would be cool to separate NixOS option database from implementation details that should be just packages with parameters, but setuid wrappers are probably not the highest-value part of it
<MichaelRaskin>
I wonder if user-mode-linux is easy to build/use
<pie_>
MichaelRaskin, i think it sounds great
<MichaelRaskin>
The real goal is of course to gather code that is defined to be unable to depend on full NixOS so that then using it for tests one can debug without waiting for full-boot each time would not be _just_ code duplication w.r.t. NixOS tests
lejonet has quit [Remote host closed the connection]
lejonet has joined #nixos-chat
<drakonis1>
so, 5 hours and 19 minutes until amd's big show at computex
<drakonis1>
this might be good.
<infinisil>
I'm seeing a lot more non-member reviewers recently, and this may or may not be because of #58098 :D