mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-22 21:11:26 +02:00
commit
153e941a05
@ -19,7 +19,7 @@ sudo nixos-rebuild switch
|
|||||||
|
|
||||||
And then you can use Git to manage the configuration in `~/nixos-config`. The configuration can be used with ordinary user-level permissions, and it is not required to be owned by root.
|
And then you can use Git to manage the configuration in `~/nixos-config`. The configuration can be used with ordinary user-level permissions, and it is not required to be owned by root.
|
||||||
|
|
||||||
Another method is jsut to delete `/etc/nixos` directly, and specify the configuration file path each time you deploy it:
|
Another method is just to delete `/etc/nixos` directly, and specify the configuration file path each time you deploy it:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo mv /etc/nixos /etc/nixos.bak
|
sudo mv /etc/nixos /etc/nixos.bak
|
||||||
|
Loading…
x
Reference in New Issue
Block a user