aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Engmark <vengmark@linz.govt.nz>2023-05-15 11:05:26 +1200
committerVictor Engmark <vengmark@linz.govt.nz>2023-05-15 11:05:26 +1200
commit6e1bfb93dce77073ceff4695ee13b689f1fab9b3 (patch)
tree9a4dcef87d9fd92289ffa98d4ed55455a3288e2c
parented016a5bb0796f1aa01af6d081d3599a59cb05df (diff)
refactor: Join commands to remove files
-rw-r--r--doc/manual/src/installation/uninstall.md9
1 files changed, 1 insertions, 8 deletions
diff --git a/doc/manual/src/installation/uninstall.md b/doc/manual/src/installation/uninstall.md
index 7643b535b..9ead5e53c 100644
--- a/doc/manual/src/installation/uninstall.md
+++ b/doc/manual/src/installation/uninstall.md
@@ -24,17 +24,10 @@ If you are on Linux with systemd:
sudo systemctl daemon-reload
```
-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 /etc/nix /etc/profile.d/nix.sh /nix ~root/.nix-channels ~root/.nix-defexpr ~root/.nix-profile
+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: