Add notes how to install on a machine using flake.

This commit is contained in:
Whovian NTSN 2024-09-03 03:54:25 -04:00
parent 4e09425a11
commit fe9b7e964e
1 changed files with 6 additions and 0 deletions

View File

@ -132,6 +132,12 @@
Alternatively, use:
- nix build -L .#packages.x86_64-linux.build_isoimage-pc
- nix build -L .#build_isoimage-pc
How to use config in an install:
Mount partitions.
$ sudo nixos-install -v --root /mnt --flake "git+https://git.n2.pm/whovian/nixos_config#CONFIG_NAME"
Example for nixosConfigurations.my_nixos_vm:
$ sudo nixos-install -v --root /mnt --flake "git+https://git.n2.pm/whovian/nixos_config#my_nixos_vm"
*/
nixosConfigurations = {