😅 Better #hostname example

This commit is contained in:
Tyler Kelley 2024-02-11 23:42:14 -06:00
parent 2d8e9bb379
commit f4c143795e

View File

@ -35,7 +35,7 @@ nixos-generate-config --show-hardware-config > hardware.nix
```
NIX_CONFIG="experimental-features = nix-command flakes" \
sudo nixos-rebuild switch --flake .#zaney
sudo nixos-rebuild switch --flake .#thehostnameyousetinoptions.nix
```
Now when you want to rebuild the configuration you have access to an alias called flake-rebuild that will rebuild the flake based of the flakeDir variable you set in options.nix!