Post AW3cjVZ3ikLi85g4MS by xerz@fedi.xerz.one
(DIR) More posts by xerz@fedi.xerz.one
(DIR) Post #AV7Hum8YiRSDh6P6IK by xerz@fedi.xerz.one
2023-04-28T16:15:05.826733Z
1 likes, 0 repeats
Try 1: easy way, NixOS ISOoh hey, I feel like Nix clicked on me at last, I feel way better at reading docs and writing flakes :blobcatrainbow:
(DIR) Post #AV7Humtht9AU3KSkme by xerz@fedi.xerz.one
2023-04-28T16:41:24.712040Z
0 likes, 0 repeats
look at how little code you need to get a working ISO :blobcatsurprised: ….I admit I got confused when I tried to add a test package, but that’s about it
(DIR) Post #AV7I9O0khJXTDFieuW by xerz@fedi.xerz.one
2023-04-28T16:42:27.811195Z
1 likes, 1 repeats
look at how little code you need to get a working ISO :blobcatsurprised: ….I admit I got confused when I tried to add a test package, but that’s about it
(DIR) Post #AV7I9QHqEkOgGpjKpE by xerz@fedi.xerz.one
2023-04-28T16:43:35.602711Z
0 likes, 0 repeats
…then again, I wish this barebones system didn’t use 700MB just to display a terminal…
(DIR) Post #AV7JagRmMSYIACwPcu by Polychrome@poly.cybre.city
2023-04-28T17:00:19.519870Z
0 likes, 0 repeats
@xerz I wonder what's taking so much memory?
(DIR) Post #AV7JhU6QeiDduCCJw8 by xerz@fedi.xerz.one
2023-04-28T17:01:24.988465Z
1 likes, 1 repeats
leaving this here https://codeberg.org/xerz/quecto
(DIR) Post #AV7K2RrqA4zF3PN1gO by lanodan@queer.hacktivis.me
2023-04-28T17:04:56.935193Z
0 likes, 0 repeats
@xerz git gud: https://hacktivis.me/articles/Install%20Gentoo%20via%20Floppy(Could also try to fit qbe+cproc in a second floppy)
(DIR) Post #AV7KHthgwu5zjLzRrs by xerz@fedi.xerz.one
2023-04-28T17:07:08.199093Z
1 likes, 0 repeats
@lanodan > The floppy image (2.88 MB)that’s an ED you coward :blobcatfluffpout:
(DIR) Post #AV7KWf8bO4IYtmcMLY by lanodan@queer.hacktivis.me
2023-04-28T17:10:23.293518Z
2 likes, 0 repeats
@xerz Well Linux doesn't seems to fit in 1.44MB anymore.While OpenBSD has actual floppy variants: https://www.openbsd.org/faq/faq4.html#Download
(DIR) Post #AV7Kg6rren6JVZIGcC by MischievousuTomatosu@boks.moe
2023-04-28T17:12:30.339370Z
0 likes, 0 repeats
@xerz i fucking love nixos
(DIR) Post #AV7Khe7PW6z2vIIWXI by MischievousuTomatosu@boks.moe
2023-04-28T17:12:51.175541Z
0 likes, 0 repeats
@xerz i understand it a fair bit but i still hold on on the flakes
(DIR) Post #AV7Kj68wo5go87i1QW by xerz@fedi.xerz.one
2023-04-28T17:12:00.663250Z
0 likes, 0 repeats
ok nix build git+https://codeberg.org/xerz/quecto#quecto works, that’s pretty cool
(DIR) Post #AV7LFdYC8RLp0W2AJE by xerz@fedi.xerz.one
2023-04-28T15:30:22.431120Z
0 likes, 0 repeats
currently bored, so I'm gonna build the smallest Linux live CD distro possible with a retro desktop and Flapak support :blobcatfluffowo:
(DIR) Post #AV7LFeDfeEWn59RHxQ by xerz@fedi.xerz.one
2023-04-28T15:35:50.425727Z
0 likes, 0 repeats
oh waitFlathub has no i386 builds, right?.......................ok let's try to just, build the absolute minimum to have Firefox running then
(DIR) Post #AV7LFf1IfiE7Z4evJY by lanodan@queer.hacktivis.me
2023-04-28T17:18:30.671367Z
0 likes, 0 repeats
@xerz Firefox? On 32-bit? That sounds like pain, would go with like netsurf.
(DIR) Post #AV7LHe6X2yUpIv3L2u by xerz@fedi.xerz.one
2023-04-28T17:19:15.454937Z
0 likes, 0 repeats
@lanodan I’ve done it before and I’ll do it again :blobcatknife:
(DIR) Post #AV7LS9LxieeT7IHLyi by xerz@fedi.xerz.one
2023-04-28T17:20:42.911705Z
1 likes, 0 repeats
@Polychrome wonder no moreit’s probably Squashfs I dunno?
(DIR) Post #AV7M4mW2YumRa6PihE by xerz@fedi.xerz.one
2023-04-28T17:28:10.603186Z
1 likes, 0 repeats
@Polychrome yeah it’s all caching and stuff, it booted in a 128MB VM “just fine” (and by “just fine” I mean a lot slower, like, many minutes in a 5900X)… and now I can’t show you a screenshot because I missed the login prompt, it timeout’d and it’s yet to come back :blobcatdead:
(DIR) Post #AV7M9OjOQ7OhGKrQDQ by xerz@fedi.xerz.one
2023-04-28T17:29:01.483900Z
1 likes, 0 repeats
So, in reality it’s consuming <90MB for a framebuffer TTY. Not bad for a starting point, but I definitely think it should be better.
(DIR) Post #AV7MDCriTkHZcUZOxE by xerz@fedi.xerz.one
2023-04-28T17:29:42.293616Z
0 likes, 0 repeats
Having a small enough userspace footprint sounds like is gonna be a bit hell
(DIR) Post #AV7NWxY9EPXZrhOqhs by xerz@fedi.xerz.one
2023-04-28T17:44:26.553135Z
0 likes, 0 repeats
Currently, the flake doesn’t build an ISO with BIOS support, but apparently it should be trivial https://github.com/NixOS/nixpkgs/blob/327b0cff7aedc20a148d245b1182f43800acc1f5/nixos/modules/installer/cd-dvd/iso-image.nix#L538
(DIR) Post #AV7NnQ1r79N0pD8yci by xerz@fedi.xerz.one
2023-04-28T17:47:29.021753Z
0 likes, 0 repeats
fun
(DIR) Post #AV7SU2xd9lZ5Y6kXCa by xerz@fedi.xerz.one
2023-04-28T18:39:49.979948Z
0 likes, 0 repeats
ok so I have a conundrumthat issue is yet to be fixed on unstable presumably? but also, if I go and use nixos-22.10, then isoImage.makeBiosBootable doesn’t even exist……..
(DIR) Post #AV7SZxQKejzi76zcki by xerz@fedi.xerz.one
2023-04-28T18:40:21.112356Z
1 likes, 0 repeats
in fact, it was added a month ago https://github.com/NixOS/nixpkgs/commit/e5b072eca165430efc4d7a179011a42aab4470a2that’s some luck
(DIR) Post #AV7UD0o27AVRqrGVzk by xerz@fedi.xerz.one
2023-04-28T18:59:13.365453Z
0 likes, 0 repeats
I read twice and I think that, in fact, the flag wasn’t needed before, it used to add the MBR bootloader by defaultOK sure
(DIR) Post #AV7UXifajugTgVBu6K by xerz@fedi.xerz.one
2023-04-28T19:01:19.496829Z
0 likes, 0 repeats
ok yes It Just Works™®© without my universal ISO target, goodgood :blobcatfluffowo:
(DIR) Post #AV7UXjLQEO91mElJIm by xerz@fedi.xerz.one
2023-04-28T19:02:22.883015Z
1 likes, 1 repeats
HELL YEAH. IT’S CDE TIME :blobcatdab:
(DIR) Post #AV7V6SIhakFB3H32TQ by lanodan@queer.hacktivis.me
2023-04-28T19:08:55.512425Z
1 likes, 0 repeats
@xerz CDE on a 2023 system feels very weird, even Solaris 10 (2005) offers Gnome 1, some old Xfce and similarly old KDE.
(DIR) Post #AV7W3OjeUUwb4zl9ma by xerz@fedi.xerz.one
2023-04-28T19:19:58.635407Z
0 likes, 0 repeats
“Also if you want to configure PAM to do something special such as send a slack message to some channel whenever someone logs into a machine or runs a sudo command and that option is not already in the pam options in nixpkgs, you’re basically doomed because pam is not very configurable on NixOS.“welp, thanks for the answer, Cadey
(DIR) Post #AV7WEwoM8c8pwvT1WK by xerz@fedi.xerz.one
2023-04-28T19:22:07.756195Z
0 likes, 0 repeats
at least what I want to do does seem to have an option, services.xserver.displayManager.sddm.autoLogin.minimumUid
(DIR) Post #AV7WSaWBosHwrZTSeu by xerz@fedi.xerz.one
2023-04-28T19:24:34.939175Z
0 likes, 0 repeats
shoutout to AMD for making all of these builds ridiculously fast to perform btw :blobcatrainbow: :blobcatrainbow: :blobcatrainbow:
(DIR) Post #AV7Xq5Sb2mAxRVYwWO by lanodan@queer.hacktivis.me
2023-04-28T19:39:05.180431Z
0 likes, 0 repeats
@lightning @xerz I think I would pick fvwm if I wanted an old-style DE.
(DIR) Post #AV7Xs8KVLWAEvBkm2a by xerz@fedi.xerz.one
2023-04-28T19:40:21.766650Z
0 likes, 0 repeats
…wait is NixOS building Firefox as 64 bits even when the target is 32 bits?????????????????????????????????????
(DIR) Post #AV7XyFk8hCrfeRf67E by xerz@fedi.xerz.one
2023-04-28T19:41:31.601907Z
0 likes, 0 repeats
@lanodan @lightning I definitely considered, but it just doesn’t look as cool :blobcatpout:
(DIR) Post #AV7Y27iKUS1LuKf2cC by xerz@fedi.xerz.one
2023-04-28T19:42:13.684704Z
0 likes, 0 repeats
@lanodan @lightning (…also, NsCDE is not packaged on Nix just yet)
(DIR) Post #AV7YAkIcukLftXkZKS by xerz@fedi.xerz.one
2023-04-28T19:43:44.383843Z
0 likes, 0 repeats
ftr I’m handling cross-platform building with a combo of flake-utils and nixos-generatorsbut everything else worked as expected
(DIR) Post #AV7YU1HC1EFY39GnVA by xerz@fedi.xerz.one
2023-04-28T19:47:12.222995Z
0 likes, 0 repeats
funnily enough, the very same Firefox build that Nix created for me runs just fine on… Archbut yeah, it’s 64 bit???????????????
(DIR) Post #AV7YWAcOFzERbPD6VU by xerz@fedi.xerz.one
2023-04-28T19:47:39.744753Z
0 likes, 0 repeats
I’m gonna assume that firefox is somehow an alias for firefox-bin
(DIR) Post #AV7ZPPcUBPNq3Wb2fI by xerz@fedi.xerz.one
2023-04-28T19:57:33.972941Z
0 likes, 0 repeats
same thing with LibreWolf, that sucks
(DIR) Post #AV7if8gzmjelmHHPge by xerz@fedi.xerz.one
2023-04-28T21:41:09.448378Z
0 likes, 0 repeats
IS EVERY SINGLE BROWSER COMPILED ONLY FOR X86_64OHMYGOD
(DIR) Post #AV7ii2RHUY2VFfJPBQ by xerz@fedi.xerz.one
2023-04-28T21:41:51.473960Z
1 likes, 0 repeats
WHY DO YOU EVEN OFFER AN I386 OPTION IF IT’S COMPLETELY FAKE????????? AM I DOING SOMETHING OBSCURELY WRONG OR??????????????
(DIR) Post #AV7kKfd2KlXzkpnOCG by lanodan@queer.hacktivis.me
2023-04-28T21:55:03.721238Z
0 likes, 0 repeats
@xerz Someone reported that badwolf works on x86_32 (as should be) and webkit-gtk is a rather common dependency, no idea how good it is though, JS engine could be slow.
(DIR) Post #AV7kynTqYoWRgodBIG by xerz@fedi.xerz.one
2023-04-28T22:07:13.395555Z
1 likes, 0 repeats
@lanodan that’ll have to wait for the release of 23.05 I guess…
(DIR) Post #AV7lC3kbNaLJuonAX2 by xerz@fedi.xerz.one
2023-04-28T22:09:40.152688Z
0 likes, 0 repeats
Bless this https://github.com/NixOS/nixpkgs/blob/358a179550508bf2dafdf1657a94b7f65d91c4bf/pkgs/stdenv/adapters.nix#L232
(DIR) Post #AV7leRgXz6rQFuQmYq by lanodan@queer.hacktivis.me
2023-04-28T22:11:23.322176Z
1 likes, 0 repeats
@xerz lol, funroll-loops.We need a NixOS is rice.
(DIR) Post #AV7uzo153IJxBQINVo by xerz@fedi.xerz.one
2023-04-28T23:59:19.164866Z
0 likes, 0 repeats
OK so I found out why it was installing x86_64 browsers all the timeI was, in my ignorance, accidentally telling Nix to install x86_64 packages 🥴
(DIR) Post #AV8hJsLLTDUmC6PTUm by xerz@fedi.xerz.one
2023-04-29T08:25:23.031421Z
0 likes, 0 repeats
Left Quecto recompiling itself with a bunch of flags for the night, it built…………… but is stuck at a black screen upon boot
(DIR) Post #AV8hJszl2xp0DRJkUC by xerz@fedi.xerz.one
2023-04-29T08:26:37.705052Z
0 likes, 0 repeats
sadly, I couldn’t even compile with -Os, glibc didn’t like it….
(DIR) Post #AV8hJtd6gfIUBTjAoq by xerz@fedi.xerz.one
2023-04-29T09:00:27.643780Z
0 likes, 0 repeats
Wanted to use musl, but uh https://github.com/NixOS/nixpkgs/blob/87d526ff1944affc158be479af2fe7f1ef4756a8/pkgs/top-level/stage.nix#L202
(DIR) Post #AV8hTU4cYkFZopAXAm by xerz@fedi.xerz.one
2023-04-29T09:01:37.999972Z
0 likes, 0 repeats
At this point, while I love the workflow so much and it’s gotten me somewhere already, it’s starting to look like NixOS is constraining me a bit more than I need.
(DIR) Post #AV8ib3af0VaVxAKWPI by xerz@fedi.xerz.one
2023-04-29T09:14:07.542726Z
0 likes, 0 repeats
ftr, I just checked aaaaaaaaaaaaand yeah, the OS compiled indeed, it’s all 32 bit binaries, and if I try to run e.g. coreutils or Netsurf on my Arch, they run just fineso I definitely borked the kernel with the custom flags, I just wonder if I can make Linux itself an exception
(DIR) Post #AV8rLjUeLOe0rqHoH2 by xerz@fedi.xerz.one
2023-04-29T10:53:16.921910Z
0 likes, 0 repeats
actually I’m not even sure what’s the problem, if I try to do an override on top it just…….. does nothing?
(DIR) Post #AV9TYWdXFjMh12yAb2 by xerz@fedi.xerz.one
2023-04-29T18:01:26.453653Z
0 likes, 0 repeats
so when does the 8950X come out? that’d come in quite handy right now :blobcatgooglyheadache:
(DIR) Post #AV9UnFOnix6Zqtf4ZE by xerz@fedi.xerz.one
2023-04-29T18:15:20.908423Z
0 likes, 0 repeats
OK IT’S DONE AND IT WORKS, I CAN NOW USE PROPER 32 BITS AND CFLAGS EVERYWHERE :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: :blobcatrainbow: basically had to find out how to set nixpkgs with config.replaceStdenv ‒ apparently overlays don’t apply to every package and so I was getting ABI inconsistencies, so a lot of time was spent in a dead end (thx @K900 !)
(DIR) Post #AV9V7x17GN5cvGSHui by xerz@fedi.xerz.one
2023-04-29T18:19:04.738762Z
0 likes, 0 repeats
….now if I could just make an exception for Glibc….
(DIR) Post #AV9hfZbxzRIFcwUTr6 by xerz@fedi.xerz.one
2023-04-29T20:39:33.473703Z
0 likes, 0 repeats
Not sure if I should further adopt Clang and/or some of LTO... this is already taking an eternity to build for what should be very trivial comparisons :blobcatsweats:
(DIR) Post #AV9hh7HkHE9yM1lgfI by xerz@fedi.xerz.one
2023-04-29T20:39:54.437577Z
0 likes, 0 repeats
@K900 Not sure if I should further adopt Clang and/or some form of linking optimization (LTO, gold, whatevers)… this is already taking an eternity to build for what should be very trivial comparisons :blobcatsweats:
(DIR) Post #AV9higH3fsFJ9zC0Yq by xerz@fedi.xerz.one
2023-04-29T20:40:11.252182Z
0 likes, 0 repeats
Not sure if I should further adopt Clang and/or some form of linking optimization (LTO, gold, whatevers)… this is already taking an eternity to build for what should be very trivial comparisons :blobcatsweats:
(DIR) Post #AV9i2zJka5TW0v8R3A by xerz@fedi.xerz.one
2023-04-29T20:43:51.383699Z
0 likes, 0 repeats
Also, -Oz could be fun to try regardless of compiler, but I’m betting the most likely thing is that it will make my binaries way slower on old computers, so… probably not worth the hours upon hours of compile time?
(DIR) Post #AV9msbTGt0covkSKsy by xerz@fedi.xerz.one
2023-04-29T21:37:56.281858Z
0 likes, 0 repeats
@Seirdy I’m very puzzled about the idea of doing PGO on Nix (how deterministic is that?), let alone doing it on a Zen 4 CPU with a Pentium 3 target…
(DIR) Post #AV9muM4v5SublmtvYu by xerz@fedi.xerz.one
2023-04-29T21:38:19.361216Z
0 likes, 0 repeats
@Seirdy I’m very puzzled about the idea of doing PGO on Nix (how deterministic is that?), let alone doing it on a Zen 3 CPU with a Pentium 3 target…
(DIR) Post #AVBFvLVTn0om7D6ntg by xerz@fedi.xerz.one
2023-04-30T14:38:02.763346Z
0 likes, 0 repeats
OK, so by the times it arrives at the kernel, it does... nothing. It simply fails at the linking stage no matter what.Well uh.
(DIR) Post #AVBFzF73VJ4bRXXiQS by xerz@fedi.xerz.one
2023-04-30T14:38:47.211403Z
0 likes, 0 repeats
OK, so by the time it arrives at the kernel, it does... nothing. It simply fails at the linking stage no matter what.Well uh.
(DIR) Post #AVBHjhqx534Lr2jJUO by xerz@fedi.xerz.one
2023-04-30T14:58:21.951518Z
0 likes, 0 repeats
Yeah, no overlays seem to fix this, it looks like I have no choice but to drop at least some flags.yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay
(DIR) Post #AVBHw4Erg1LCl1oE6q by xerz@fedi.xerz.one
2023-04-30T15:00:36.859125Z
0 likes, 0 repeats
It just fails silently, I can’t even debug it :blobcatgooglyheadache:
(DIR) Post #AVBJVk1oOdGkSGHJY0 by xerz@fedi.xerz.one
2023-04-30T15:18:16.812148Z
0 likes, 0 repeats
even when trying verbose logs nothing happens???????? I just know that it happens right around AR drivers/gpu/built-in.a AR drivers/built-in.a
(DIR) Post #AVBJyeBhBrwyjqgVkG by xerz@fedi.xerz.one
2023-04-30T15:23:31.917025Z
0 likes, 0 repeats
I really wonder why it fails right at the finish line without saying a thing :blobcatderpy:
(DIR) Post #AVBUp7bq2t74aWZbQu by xerz@fedi.xerz.one
2023-04-30T17:25:04.035650Z
0 likes, 0 repeats
OK waiting for failed optimizations is taking away the fun out of making an OS, I’ll leave that for last and maybe wait to save up money for some hours on a build farm or something
(DIR) Post #AVNOpVTX2oQcmN0WMy by xerz@fedi.xerz.one
2023-05-06T11:13:17.498632Z
0 likes, 1 repeats
Aaaaaaaaaaaaaaaaand pushed changes, give Quecto a try today! :blobcateyes: https://codeberg.org/xerz/quecto/
(DIR) Post #AVNPTSR1lfDOvtszrM by xerz@fedi.xerz.one
2023-05-06T11:21:32.536626Z
0 likes, 0 repeats
(also if you want, you can pass spectre_v2=off at GRUB for better performance at the cost of security, who cares anyway lmao)
(DIR) Post #AVNQwCBdMDlwtLx8wy by maxxcan@mastodon.social
2023-05-06T11:35:41Z
2 likes, 0 repeats
@xerz
(DIR) Post #AVNQwD5I1II9fxzahU by xerz@fedi.xerz.one
2023-05-06T11:37:59.527901Z
0 likes, 0 repeats
@maxxcan ¿eso es CDE o NsCDE? :blobcatpeekaboo:
(DIR) Post #AVNRFbMXygIsTZJLTk by maxxcan@mastodon.social
2023-05-06T11:38:27Z
0 likes, 0 repeats
@xerz NsCDE
(DIR) Post #AVNRFbrO80yQ1DjyYC by xerz@fedi.xerz.one
2023-05-06T11:40:52.002716Z
0 likes, 0 repeats
@maxxcan ahhhh tiene sentido, demasiado antialising veía yo ahí 🥴no sé, la estética de CDE es una de esas cosas que o amas a más no poder u odias al punto de llamar a un exorcista… mi caso es el obvio, y encima tengo la excusa de que es una distro para cosas retro :blobcatsweats:
(DIR) Post #AVNYQwTeVuxapHzOQC by xerz@fedi.xerz.one
2023-05-06T13:01:27.516818Z
0 likes, 0 repeats
Remind me if I can set the mounting delay so the system doesn't stay pitch black during boot plsthxAlso, is Synaptics & other touchpad support missing out of the box on Nix or did I do something wrong?
(DIR) Post #AVNadfPVTlWrZEFHMW by schizanon@calckey.social
2023-05-06T13:14:05.777Z
1 likes, 0 repeats
@xerz@fedi.xerz.one if you get both working wifi and trackpad on a fresh Linux install you did something wrong
(DIR) Post #AVNbDvNRanbLVoZNFQ by xerz@fedi.xerz.one
2023-05-06T13:33:17.932715Z
0 likes, 0 repeats
Honestly my partition trick mixed with flatpak --user and nix develop --store? Pretty cool :blobcatuwu:
(DIR) Post #AVNbbXDT4dVLWpA4x6 by xerz@fedi.xerz.one
2023-05-06T13:37:30.661716Z
0 likes, 0 repeats
Oh yeah and presumably I need to add cryptsetup manually too
(DIR) Post #AVO6uOyb1xxw3PgLJo by xerz@fedi.xerz.one
2023-05-06T19:28:13.232242Z
0 likes, 0 repeats
OK so I'm trying to boot on a weird i5-480M+Radeon 5400… and when it reaches X11 it just stops working. Unless I go nomodeset, then X11 can't find a display.ok
(DIR) Post #AVUNnSdaMw6e7KBB3I by xerz@fedi.xerz.one
2023-05-09T20:05:42.081091Z
0 likes, 0 repeats
what if :blobcatsip:
(DIR) Post #AVUO74nYiCbryOCJQ8 by xerz@fedi.xerz.one
2023-05-09T20:09:23.786826Z
0 likes, 0 repeats
gee, thanks Rediris 🥴
(DIR) Post #AVUTsKLlCzW3aRXsHY by xerz@fedi.xerz.one
2023-05-09T21:13:55.026857Z
1 likes, 0 repeats
……….oops?
(DIR) Post #AVgwsAw9R1hExbMk08 by xerz@fedi.xerz.one
2023-05-15T21:35:26.221104Z
0 likes, 0 repeats
OK so I'm back to it. I think I can fix the weird hardware compatibility issue with one (1) line of code :blobcatthink:
(DIR) Post #AVh1s9FSDG8VUgCWDQ by xerz@fedi.xerz.one
2023-05-15T22:31:24.675501Z
0 likes, 0 repeats
YupOne line of code fixed it – might elaborate tomorrow, rn I must nini :blobcatsleep2:
(DIR) Post #AW0ttABTBQ3ISfxCAi by xerz@fedi.xerz.one
2023-05-25T12:34:29.780406Z
0 likes, 0 repeats
gosh do I love playing around with Quecto, I can do a query as large as grep /root $(find / -type f -name '*.mount') within mere milliseconds :blobcatmelt: 💗
(DIR) Post #AW174LFrf2p9O2fbaS by xerz@fedi.xerz.one
2023-05-25T12:39:23.553190Z
0 likes, 0 repeats
…I do find myself struggling with making Nix play nice tho because it’s missing one feature at a package manager configuration level :blobcatderpy:
(DIR) Post #AW174LrRPKsjGaFc9o by xerz@fedi.xerz.one
2023-05-25T15:03:18.187529Z
0 likes, 0 repeats
ok so how do I debug an OverlayFS mount error if all I can see is an error code 32
(DIR) Post #AW199z0XUKbW2BJrea by xerz@fedi.xerz.one
2023-05-25T15:27:08.444517Z
0 likes, 0 repeats
this weird mix of Nix and Udev and Systemd and OverlayFS sure is: a thing
(DIR) Post #AW1BgRSFSUL5R4sxXc by xerz@fedi.xerz.one
2023-05-25T15:54:55.186687Z
0 likes, 0 repeats
like, it’s making my life terrible because I cannot configure a default path for nix --store, but I can also do things like systemd-analyze plot | nix run nixpkgs#feh -- - and it looks supercool :blobcatfluffowo:
(DIR) Post #AW1PtYSS896AHM7zlY by xerz@fedi.xerz.one
2023-05-25T18:34:39.207795Z
0 likes, 0 repeats
…I blame all of my suffering on https://github.com/systemd/systemd/issues/11301
(DIR) Post #AW1T7vk2ethIPOtxQW by xerz@fedi.xerz.one
2023-05-25T19:11:02.837512Z
0 likes, 0 repeats
THERE YOU GO GODDAMMIT
(DIR) Post #AW2o3DlGWiI32l1tJY by xerz@fedi.xerz.one
2023-05-26T10:17:13.535989Z
0 likes, 0 repeats
ok so now I have a brand new issue: I cannot boot from ext4 drives somehow??????????????like, it’s perfectly fine as soon as I add fsType = ext4, I made a diff of the derivations’ JSON to see if there was anything really new but uh… yeah it only tells me the hashes of the packages it has generated, and I don’t know how to look further
(DIR) Post #AW2o3EYXZVhnVa5F7Q by xerz@fedi.xerz.one
2023-05-26T10:22:07.805456Z
0 likes, 0 repeats
It should be the other way around, somehow btrfs is autodetected but not ext4?????????????“ You can usually omit the file system type (fsType), since mount can usually detect the type and load the necessary kernel module automatically. However, if the file system is needed at early boot (in the initial ramdisk) and is not ext2, ext3 or ext4, then it’s best to specify fsType to ensure that the kernel module is available. “https://nixos.org/manual/nixos/stable/
(DIR) Post #AW2o3F7HULUjFKKzGi by xerz@fedi.xerz.one
2023-05-26T10:27:06.111174Z
0 likes, 0 repeats
furthermore, adding or removing ext2/ext3/ext4 from boot.initrd.supportedFilesystems doesn’t matter at all, since it all evaluates to the exact same derivations…
(DIR) Post #AW2o3Gr31fhKdYl3FA by xerz@fedi.xerz.one
2023-05-26T10:36:22.334143Z
0 likes, 0 repeats
like, all I can guess from here is that it can't see the label without figuring out the filesystem first, and I guess it's trying to find the partition that matches without trying to figure out the filesystem first... which somehow works with Btrfs but not with ext4?????
(DIR) Post #AW2o3HXwSC0cmapJ6O by xerz@fedi.xerz.one
2023-05-26T10:38:46.366583Z
0 likes, 0 repeats
…I swear if a custom partition type ID works….
(DIR) Post #AW2o3I8oF7V2cw4kZE by xerz@fedi.xerz.one
2023-05-26T10:40:06.114401Z
0 likes, 0 repeats
...right, but MBR and GPT use different ones...
(DIR) Post #AW2o3W4iR8XlqIGg88 by xerz@fedi.xerz.one
2023-05-26T10:32:17.362668Z
0 likes, 0 repeats
like, all I can guess from here is that it can't see the label without figuring out the filesystem first, and I guess it's trying to find the partition that matches without trying to figure out the filesystem first... which somehow with Btrfs but not with ext4?????
(DIR) Post #AW2otThkUkd1Y6Ipeq by xerz@fedi.xerz.one
2023-05-26T10:49:37.514260Z
0 likes, 0 repeats
so in essence and presuming this is the kernel's fault, at this point I should chose between either LABEL (deprecating ext4) or GUID/PARTLABEL (deprecating MBR)ugh
(DIR) Post #AW2p23CyNS7DyhzlY0 by xerz@fedi.xerz.one
2023-05-26T10:50:40.149102Z
0 likes, 0 repeats
…actually holdup, let’s see if PARTLABEL even works
(DIR) Post #AW2pUII9tFg2rqt8EK by xerz@fedi.xerz.one
2023-05-26T10:56:18.304236Z
0 likes, 0 repeats
oh yeah, GPT (the good one) should be backwards-compatible with MBR, so maybe it can even host a DOS install and everything :thinksphere:
(DIR) Post #AW2pjWX1EITLNJ6KS8 by xerz@fedi.xerz.one
2023-05-26T10:59:04.932449Z
0 likes, 0 repeats
amazing https://github.com/Baron-von-Riedesel/DOS71BSG
(DIR) Post #AW2q4mJRkckSOst6HY by xerz@fedi.xerz.one
2023-05-26T11:02:46.446059Z
0 likes, 0 repeats
ultimately, both tradeoffs suck and feel completely artificial, *but* one of them only affects existing hard disk drives with MS-DOS and alike, while the other affects the most common use cases for formatting...
(DIR) Post #AW2rDk3zaCmzz7Ut4C by xerz@fedi.xerz.one
2023-05-26T11:15:38.441274Z
0 likes, 0 repeats
…sfdisk‘s unnamed field format is a bit disappointing tbh https://man7.org/linux/man-pages/man8/sfdisk.8.html#INPUT_FORMATS
(DIR) Post #AW2rRm1F6nWq6WtyZE by xerz@fedi.xerz.one
2023-05-26T11:18:14.362600Z
0 likes, 0 repeats
for comparison, here’s how you create a disk with a single, bootable partition on each format:unnamedlabel: gpt,,,-namedlabel: gptbootable
(DIR) Post #AW2ryjBUfWdwrwPVgW by xerz@fedi.xerz.one
2023-05-26T11:24:10.339211Z
0 likes, 0 repeats
aaaaaaaaaaand yeah, ext4 with PARTLABEL works, guess I'm deprecating MBR
(DIR) Post #AW3Rr4qzobxK6nTSRU by xerz@fedi.xerz.one
2023-05-26T18:06:12.838075Z
0 likes, 0 repeats
back to being stuck here :blobcatrainbow: best part is that I would be fine if Linux was not built within the flake itself, but the dependency graph couldn’t care less
(DIR) Post #AW3SGolsEUApl5Lu2S by xerz@fedi.xerz.one
2023-05-26T18:10:52.510946Z
0 likes, 0 repeats
in theory there should be more error messages I could read more aboutin practice? nope
(DIR) Post #AW3ce9NYmJslsHkCLQ by xerz@fedi.xerz.one
2023-05-26T20:07:04.422191Z
0 likes, 0 repeats
HELL YEAH GOT IT :blobcatrainbow: :blobcatrainbow: :blobcatrainbow:…I had to replace linuxPackages, not just linux :blobcatderpy: so far it went down from ~1.5GB to ~1.1, which is decent but needs to do improve
(DIR) Post #AW3cjVZ3ikLi85g4MS by xerz@fedi.xerz.one
2023-05-26T20:08:08.878975Z
0 likes, 0 repeats
HELL YEAH GOT IT :blobcatrainbow: :blobcatrainbow: :blobcatrainbow:…I had to replace linuxPackages, not just linux :blobcatderpy: so far it went down from ~1.5GB to ~1.1, which is decent but needs to improve 10x yet
(DIR) Post #AW3pPKrP6jBmXlyAcq by xerz@fedi.xerz.one
2023-05-26T22:29:58.068416Z
0 likes, 0 repeats
So the only naïve thing that lowers the .iso to juuuuuuuuuuuuuuuuuuuust barely under 700MB is removing the extra hardware support I addedwelp
(DIR) Post #AW3q0MESyAHlVtPUhM by xerz@fedi.xerz.one
2023-05-26T22:36:49.128623Z
0 likes, 0 repeats
even if I do that, there's still a long way to go to fit into a MiniDisc...and I guess I know why now
(DIR) Post #AW3q1cZPi9O6TRoKB6 by xerz@fedi.xerz.one
2023-05-26T22:37:04.797178Z
1 likes, 0 repeats
literally why is rav1e here
(DIR) Post #AW3q6UBQJxdnuUuQiG by xerz@fedi.xerz.one
2023-05-26T22:37:57.593593Z
0 likes, 0 repeats
(yes, that’s 2.4GB, yes that fits into a CD, that’s the magic of Zstandard for you :blobcatrainbow: )
(DIR) Post #AW3rOZvrmhuIuJp7uy by xerz@fedi.xerz.one
2023-05-26T22:52:24.304454Z
0 likes, 0 repeats
so I ran this wonderful tool called nix-tree, very straightforward to useso uh, apparently rav1e is required for libheif which is required for feh which for some goddamn reason is required by xsession???????????????????????????????? :blobcatgooglyheadache:
(DIR) Post #AW3rSr0IFtuH0mvu6q by xerz@fedi.xerz.one
2023-05-26T22:53:12.016022Z
1 likes, 0 repeats
OH YEAH LET ME GUESS, IT'S FOR WALLPAPER SUPPORTWHO ASKED FOR THIS (not me)
(DIR) Post #AW3rwfCwg24n7B46Oe by xerz@fedi.xerz.one
2023-05-26T22:58:31.835918Z
0 likes, 0 repeats
ok yes just by replacing desktopManager.cde.enable by an entry on environment.systemPackages I managed to slash some 50MB off the image :blobcatfluffowo:
(DIR) Post #AW3s3Iti1ZUZwpEYc4 by xerz@fedi.xerz.one
2023-05-26T22:59:47.192234Z
0 likes, 0 repeats
...it breaks the desktop somehow tho, so I'll have to investigate
(DIR) Post #AW3sRjJbSJnUpYzcAa by xerz@fedi.xerz.one
2023-05-26T23:04:11.928918Z
0 likes, 0 repeats
found the culprit https://github.com/NixOS/nixpkgs/blob/656eb1cbd95c1b9c60ebdf77b5a833bc3242ef9b/nixos/modules/services/x11/desktop-managers/default.nix#L12
(DIR) Post #AW3tHDZwhDV5SbBjns by xerz@fedi.xerz.one
2023-05-26T23:13:29.619127Z
0 likes, 0 repeats
I guess I need to overlay by overriding attributes, but that feels like too much work for midnight :blobcatsleep2: