mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-04-15 08:46:25 +00:00
add uninstall section to the manual
This commit is contained in:
parent
3d7bad57b2
commit
ed29ade5ce
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -15,10 +15,6 @@ nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
|
|||
|
||||
or if you run into problems with that, try the older bootstrap.sh script
|
||||
|
||||
```bash
|
||||
bash <(curl https://raw.githubusercontent.com/LnL7/nix-darwin/master/bootstrap.sh)
|
||||
```
|
||||
|
||||
> NOTE: the system activation scripts don't overwrite existing etc files, so files like `/etc/bashrc` and `/etc/zshrc` won't be
|
||||
> updated by default. If you didn't use the installer or skipped some of the options you'll have to take care of this yourself.
|
||||
> Either modify the existing file to source/import the one from `/etc/static` or remove it. Some examples:
|
||||
|
@ -36,6 +32,16 @@ nix-channel --update darwin
|
|||
darwin-rebuild changelog
|
||||
```
|
||||
|
||||
## Uninstalling
|
||||
|
||||
There's also an uninstaller if you don't like the project and want to
|
||||
remove the configured files and services.
|
||||
|
||||
```bash
|
||||
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A uninstaller
|
||||
./result/bin/darwin-uninstaller
|
||||
```
|
||||
|
||||
## Example configuration
|
||||
|
||||
Check out [modules/examples](https://github.com/LnL7/nix-darwin/tree/master/modules/examples) for some example configurations.
|
||||
|
|
Loading…
Add table
Reference in a new issue