!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

584 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org155 Servers

Load older messages


SenderMessageTime
22 Aug 2024
@k900:0upti.meK900Written in a bespoke language that the "some c++ code" is an implementation of09:41:09
@k900:0upti.meK900With a lot of lazy evaluation and mutual recursion09:41:22
@k900:0upti.meK900And a not great GC09:41:26
@elvishjerricco:matrix.orgElvishJerriccoI was going to say that the only reasonable way to use nix for these things would be to build bootable images for them on another machine, but even then you won't be building nixos images. 256M is a stretch for a nixos image, and 64M just almost certainly won't work09:42:59
@elvishjerricco:matrix.orgElvishJerriccoyou want an actual embedded OS, and nixos itself just isn't suited for that09:43:33
@k900:0upti.meK900Yeah, systemd alone will eat up 64MB09:43:56
@elvishjerricco:matrix.orgElvishJerriccoI mean, there's "not-os", which uses nix to build an embedded os image09:43:57
@k900:0upti.meK900And no, you don't get to not have systemd09:44:07
@elvishjerricco:matrix.orgElvishJerriccothere's also NixWRT for building embedded router images with nix09:44:09
@elvishjerricco:matrix.orgElvishJerricco 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:matrix.orgElvishJerricco * 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:matrix.orgtheelevatedthe 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 bored09:47:53
@elvishjerricco:matrix.orgElvishJerriccothat doesn't make sense09:48:13
@theelevated:matrix.orgtheelevatedbut the package manager itself would not run? even on disabled use flags09:48:20
@k900:0upti.meK900It will not09:48:27
@theelevated:matrix.orgtheelevated
In reply to @elvishjerricco:matrix.org
that doesn't make sense
which part
09:48:28
@k900:0upti.meK900You need 2GB of RAM09:48:31
@k900:0upti.meK900As I said like five times already09:48:37
@elvishjerricco:matrix.orgElvishJerriccoI'm not sure what you mean by "patch the image" and "the init should be ok"09:48:47
@k900:0upti.meK900Also, there are no use flags09:48:47
@elvishjerricco:matrix.orgElvishJerriccoand also what k900 said09:48:56
@k900:0upti.meK900I think they want to just slap Nix on top of the vendor image09:48:58
@theelevated:matrix.orgtheelevated
In reply to @k900:0upti.me
OS
? (and the above mesage)
09:49:16
@k900:0upti.meK900 Which theoretically would work except the part where you need 2GB of RAM to actually do anything 09:49:19
@k900:0upti.meK900That has nothing to do with Perl09:49:27
@k900:0upti.meK900NixOS requires Perl, Nix package manager requires 2GB of RAM09:49:37
@theelevated:matrix.orgtheelevatednow the plan would be to build arch linux from scratch. any better ideas for my needs?09:50:19
@k900:0upti.meK900Arch has systemd09:50:40
@k900:0upti.meK900Which will probably not run on 64MB of RAM09:50:46
@theelevated:matrix.orgtheelevatedor artix09:50:46

Show newer messages


Back to Room ListRoom Version: 10