mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-03 01:59:13 +01:00
😅 Better #hostname example
This commit is contained in:
parent
2d8e9bb379
commit
f4c143795e
@ -35,7 +35,7 @@ nixos-generate-config --show-hardware-config > hardware.nix
|
|||||||
|
|
||||||
```
|
```
|
||||||
NIX_CONFIG="experimental-features = nix-command flakes" \
|
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!
|
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!
|
||||||
|
Loading…
Reference in New Issue
Block a user