mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Forgot about hardware configuration..
This commit is contained in:
parent
e0fb4fafa2
commit
f9364ddc25
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue