!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

901 Members
on your Router! Declaratively manage your switching, routing, wireless, tunneling and more.266 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
29 Jul 2025
@elvishjerricco:matrix.orgElvishJerricco oh, if you were asking why I said copy_bin_and_libs "results in a non-functional nuke-refs'd program", I meant when trying to add the program to scripted initrd. 07:51:06
@marcel:envs.net@marcel:envs.netBut I've been using ifstate in scripted initrd for over a year without any problem.14:03:05
31 Jul 2025
@sammy:cherrykitten.dev@sammy:cherrykitten.dev left the room.10:03:53
29 Jul 2025
@emilazy:matrix.orgemilyfeel like we should have a "just add the normal closure" thing for systemd stage 114:03:51
@emilazy:matrix.orgemily(or just do that unconditionally and trim down some closures/split outputs :P)14:04:04
@marcel:envs.net@marcel:envs.net Idk do you see any alternatives that should currently be doable? Specifying every store path that's necessary? Building a static binary of ifstate? Idk if that's possible using python 14:19:24
@k900:0upti.meK900You can't build a static binary with Python14:19:48
@k900:0upti.meK900You can probably drag all of Python into initrd14:19:54
@k900:0upti.meK900If you're OK with having a 100MB+ initrd14:19:59
@marcel:envs.net@marcel:envs.net
In reply to @k900:0upti.me
If you're OK with having a 100MB+ initrd
I mean it wasn't a problem until now
14:20:18
@hexa:lossy.networkhexayeah, python is all about propagating dependencies into a pythonpath14:20:20
@marcel:envs.net@marcel:envs.net
In reply to @k900:0upti.me
You can't build a static binary with Python
Yeah I know but for windows these things exist which encapsulate you whole python stuff into one exe
14:20:50
@hexa:lossy.networkhexapeople will create their 512 MiB efi partition and then be surprised why the initrd is so damn huge14:20:50
@k900:0upti.meK900 Well then presumably you can still do that 14:21:06
@hexa:lossy.networkhexalike this guy https://discourse.nixos.org/t/how-to-manage-the-size-of-the-boot-partition/67275?u=hexa14:21:16
@emilazy:matrix.orgemilyI think systemd stage 1 doesn't directly expose a thing for it but I'm not sure14:21:28
@marcel:envs.net@marcel:envs.net
In reply to @hexa:lossy.network
people will create their 512 MiB efi partition and then be surprised why the initrd is so damn huge
Idk adding a note to the enable option of the initrd stuff
14:21:29
@emilazy:matrix.orgemily(not sure scripted stage 1 did either)14:21:30
@emilazy:matrix.orgemily can you use python3Minimal Marcel 14:21:44
@hexa:lossy.networkhexahttps://pyinstaller.org/en/stable/ 🤔14:21:56
@emilazy:matrix.orgemily it's very minimal (especially in an upcoming -next) 14:21:57

Show newer messages


Back to Room ListRoom Version: 6