Re:NixOS for the Impatient
by eikenberry on Friday June 09, 2023 @04:06PM
(#36263445)
If this setup could be combined with an easy way to customize things, like ublue (https://ublue.it/) lets you customzie fedora silverblue using Dockerfile configs, I'd adopt it in a heartbeat.
I’d think configuration.nix would be enough?
Re:NixOS for the Impatient
by anotherhue on Friday June 09, 2023 @05:27PM
(#36264373)
I have yet to find a non customisable nixos component. It'd a source system that's excellent at building from source so there's always a way.
Re:NixOS for the Impatient
by eikenberry on Friday June 09, 2023 @05:37PM
(#36264489)
Sorry, I was unclear, by easy I meant simple. Dockerfiles are simple. I've yet to find an equivalently simple way with Nix.
Re:NixOS for the Impatient
by anotherhue on Friday June 09, 2023 @05:42PM
(#36264549)
I haven't tried it but I would suggest looking here for some inspiration https://nixos.wiki/wiki/NixOS_Containers
Re:NixOS for the Impatient
by peoplearepeople on Friday June 09, 2023 @04:22PM
(#36263643)
What does the config for doing that look like?
They are likely talking about using https://github.com/nix-community/impermanence, which is inspired by ideas in https://grahamc.com/blog/erase-your-darlings/
Edit: comments on the latter at https://news.ycombinator.com/item?id=22856199
Re:NixOS for the Impatient
by anotherhue on Friday June 09, 2023 @05:30PM
(#36264402)
That's quite fancy, I use use a tmpfs mount for root and a few bind mounts for what I need to persist.
Re:NixOS for the Impatient
by SkyMarshal on Friday June 09, 2023 @05:19PM
(#36264299)
Re:NixOS for the Impatient
by anotherhue on Friday June 09, 2023 @05:26PM
(#36264366)
I posted a snippet before if you feel like checking my history
Edit
https://news.ycombinator.com/item?id=35390782
Re:NixOS for the Impatient
by peoplearepeople on Friday June 09, 2023 @08:12PM
(#36266102)
thank you!
It's reconstructed from the /nix/store and obviously my homedir is on a persistent volume.