Add notes how to install on a machine using flake.
This commit is contained in:
parent
4e09425a11
commit
fe9b7e964e
1 changed files with 6 additions and 0 deletions
|
@ -132,6 +132,12 @@
|
||||||
Alternatively, use:
|
Alternatively, use:
|
||||||
- nix build -L .#packages.x86_64-linux.build_isoimage-pc
|
- nix build -L .#packages.x86_64-linux.build_isoimage-pc
|
||||||
- nix build -L .#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 = {
|
nixosConfigurations = {
|
||||||
|
|
Loading…
Reference in a new issue