diff options
author | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-05-15 09:12:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 09:12:05 +0200 |
commit | b15cba03c394962f274852d08f9274249afe0f49 (patch) | |
tree | 9a4dcef87d9fd92289ffa98d4ed55455a3288e2c | |
parent | 454e27345125736a2c44282e4b31a8f325b754e7 (diff) | |
parent | 6e1bfb93dce77073ceff4695ee13b689f1fab9b3 (diff) |
Merge pull request #8334 from l0b0/patch-1
-rw-r--r-- | doc/manual/src/installation/uninstall.md | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/doc/manual/src/installation/uninstall.md b/doc/manual/src/installation/uninstall.md index bd85b49ee..9ead5e53c 100644 --- a/doc/manual/src/installation/uninstall.md +++ b/doc/manual/src/installation/uninstall.md @@ -24,23 +24,10 @@ If you are on Linux with systemd: sudo systemctl daemon-reload ``` -1. Remove systemd service files: - - ```console - sudo rm /etc/systemd/system/nix-daemon.service /etc/systemd/system/nix-daemon.socket - ``` - -1. The installer script uses systemd-tmpfiles to create the socket directory. - You may also want to remove the configuration for that: - - ```console - sudo rm /etc/tmpfiles.d/nix-daemon.conf - ``` - Remove files created by Nix: ```console -sudo rm -rf /nix /etc/nix /etc/profile/nix.sh ~root/.nix-profile ~root/.nix-defexpr ~root/.nix-channels ~/.nix-profile ~/.nix-defexpr ~/.nix-channels +sudo rm -rf /etc/nix /etc/profile.d/nix.sh /etc/tmpfiles.d/nix-daemon.conf /nix ~root/.nix-channels ~root/.nix-defexpr ~root/.nix-profile ``` Remove build users and their group: @@ -54,8 +41,10 @@ sudo groupdel nixbld There may also be references to Nix in -- `/etc/profile` +- `/etc/bash.bashrc` - `/etc/bashrc` +- `/etc/profile` +- `/etc/zsh/zshrc` - `/etc/zshrc` which you may remove. |