From fe9b7e964efa6894a6931df820d3ee898a3d8080 Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Tue, 3 Sep 2024 03:54:25 -0400 Subject: [PATCH] Add notes how to install on a machine using flake. --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 486a15a..ffd6041 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = {