22 Aug 2024 |
K900 | Yeah, systemd alone will eat up 64MB | 09:43:56 |
ElvishJerricco | I mean, there's "not-os", which uses nix to build an embedded os image | 09:43:57 |
K900 | And no, you don't get to not have systemd | 09:44:07 |
ElvishJerricco | there's also NixWRT for building embedded router images with nix | 09:44:09 |
ElvishJerricco | so building non-nixos embedded OSes is possible, but it's not common and you won't find a lot out there for it | 09:44:30 |
ElvishJerricco | * so building non-nixos embedded OSes with nix is possible, but it's not common and you won't find a lot out there for it | 09:44:35 |
theelevated | the plan now would be to build the nix package manager (cross-compiled from a beefier pc) to the duo and then patch the image. the init should be ok. maybe some kernel mods if I am bored | 09:47:53 |
ElvishJerricco | that doesn't make sense | 09:48:13 |
theelevated | but the package manager itself would not run? even on disabled use flags | 09:48:20 |
K900 | It will not | 09:48:27 |
theelevated | In reply to @elvishjerricco:matrix.org that doesn't make sense which part | 09:48:28 |
K900 | You need 2GB of RAM | 09:48:31 |
K900 | As I said like five times already | 09:48:37 |
ElvishJerricco | I'm not sure what you mean by "patch the image" and "the init should be ok" | 09:48:47 |
K900 | Also, there are no use flags | 09:48:47 |
ElvishJerricco | and also what k900 said | 09:48:56 |
K900 | I think they want to just slap Nix on top of the vendor image | 09:48:58 |
theelevated | In reply to @k900:0upti.me OS ? (and the above mesage) | 09:49:16 |
K900 | Which theoretically would work except the part where you need 2GB of RAM to actually do anything | 09:49:19 |
K900 | That has nothing to do with Perl | 09:49:27 |
K900 | NixOS requires Perl, Nix package manager requires 2GB of RAM | 09:49:37 |
theelevated | now the plan would be to build arch linux from scratch. any better ideas for my needs? | 09:50:19 |
K900 | Arch has systemd | 09:50:40 |
K900 | Which will probably not run on 64MB of RAM | 09:50:46 |
theelevated | or artix | 09:50:46 |
K900 | You want, like, openwrt | 09:50:49 |
K900 | Maybe | 09:50:52 |
K900 | But realistically you need yocto | 09:51:00 |
theelevated | In reply to @k900:0upti.me You want, like, openwrt i mean its not a router | 09:51:06 |
ElvishJerricco | (which, as a reminder, you can build openwrt with nixwrt to do it nix-ified) | 09:51:11 |