Code:
nix
and guix overlay for gentoo
Guide:
nix
on gentoo howto by trofi
It is very easy to do this way.
Install bloatware with declarable builds and zero effort
Install basedware with gentoo
Be able to build stuff from source etc. without the nix
abstractions
getting in the way
Learn how nix works for deployable declarative server infrastructure (see post on that here)
Use kexec and install both, switch at runtime (complex, can’t have both on at the same time)
Use a gentoo chroot from within nix (complex, requires knowledge of the nix language). Use qemu or whatever. Very smart option. All the same benefits as above but the base system is also more reliable because it is nix. Install portage in NixOS (madness)
Nix should work with the official curl into
sudo sh method, and not break the system. Instead, use
the overlay. Let the overlay maintainer deal with those problems.
Nixtoo Genux™ released · nixtoo-genux · install gentoo hints · Don't use make (un)install · nixos.org/download