!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1249 Members
NixOS Deployment tooling306 Servers

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


SenderMessageTime
22 Nov 2024
@k900:0upti.meK900You can override basically anything 09:06:45
@k900:0upti.meK900But the more you override, the further from a supported configuration you are 09:07:40
@k900:0upti.meK900There's even things like liminix that fit in tens of megabytes09:08:13
@k900:0upti.meK900But they're not really NixOS anymore09:08:17
@k900:0upti.meK900And barely even nixpkgs09:08:22
@khartahk:matrix.orgkhartahk hm, I'm starting with this config for now: https://github.com/khartahk/nixos-minimal/blob/main/etc/nixos/configuration.nix the hardware-configuration.nix just has the partitions specified and imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; 09:27:53
@khartahk:matrix.orgkhartahkI'm willing to break things or remove stuff that I don't need. I'm really trying first to create as small image as I can. And in doing so i can that build on top of it by re-adding stuff that i need. I guess first thing is to know what I need ... kernel wise etc ... or can I just remove some other bloat that's just obvious and not required to run the OS?09:31:08
@k900:0upti.meK900There's no turnkey solution for this 09:47:50
@k900:0upti.meK900You'll have to experiment 09:47:57
@khartahk:matrix.orgkhartahkany suggestion, pointer, especially examples to remove non-essential things that you may perhaps know would be greatly appreciated.10:07:03
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/1f8150661e78f70bda0b51893344326fc2ca264c/nixos/modules/profiles/minimal.nix#L4 could be a good start10:07:52
@k900:0upti.meK900But that's still very far from how low you could push it if you wanted to10:08:15
@khartahk:matrix.orgkhartahk added that, and updated git repo, removed a couple of MB still at 2.1GB curretnly. I'm testing it using nixos-enter command on a USB drive that I know it boots so I can do it live on 1 computer - really nice and easy to chroot to nixos ... 10:18:52

Show newer messages


Back to Room ListRoom Version: 6