nixos-config/configs/nixos/bootstrap/README.adoc
Gabriel Arazas 0760acb676
configs: consolidate NixOS and home-manager config into one configs folder
Now we're going beyond these structuring as we might have to accomodate
non-system configurations like Nixvim.
2024-01-15 07:45:43 +08:00

24 lines
1.0 KiB
Plaintext

= bootstrap, the NixOS installation medium
My personalized NixOS installation medium.
It is not supposed to be used as a daily system (if you are, you're pretty weird :/).
This is based from how devos link:https://github.com/divnix/digga/blob/760bb9c29063258ba547145de0ab96acd7eba4c0/modules/bootstrap-iso.nix[generates their ISO].
You can also see link:https://nix.dev/tutorials/building-bootable-iso-image[an example from nix.dev].
To make use of this, you can generate an ISO through link:https://github.com/nix-community/nixos-generators[nixos-generators]. footnote:[You can also try this for other hosts as well for MORE BEEFY OFFLINE INSTALLATION MEDIUM!]
[source, shell]
----
nix run github:nix-community/nixos-generators -- --flake .#bootstrap --format iso --out-link result
----
Though, you could also easily build one with `packages.bootstrap-install-iso` from the flake output.
[source, shell]
----
nix build $FLAKE#bootstrap-install-iso
----
With the ISO built, you can now use it for yourself for whatever reason.