From f9364ddc2532566334f94ec0e8ebb564a949aed3 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 22 Apr 2023 18:58:48 -0500 Subject: [PATCH] Forgot about hardware configuration.. --- README.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.org b/README.org index 93ae442..ed66f6e 100644 --- a/README.org +++ b/README.org @@ -10,6 +10,11 @@ To get this running on a NixOS system, I will start by cloning the repo: git clone https://gitlab.com/librephoenix/nixos-config.git /path/to/my/config/folder #+END_SRC +To get the hardware configuration, I can other copy from =/etc/nixos/hardware-configuration.nix= or run: +#+BEGIN_SRC sh :noeval +sudo nixos-generate-config --dir /dotfiles/path/system +#+END_SRC + Then, I can switch into the system configuration by running: #+BEGIN_SRC sh :noeval sudo nixos-rebuild switch -I nixos-config=nixos-config=/dotfiles/path/system/configuration.nix