1
0
Fork 0
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:
Daiderd Jordan 2018-01-16 00:54:35 +01:00
parent 3d7bad57b2
commit ed29ade5ce
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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.