From 6e1bfb93dce77073ceff4695ee13b689f1fab9b3 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Mon, 15 May 2023 11:05:26 +1200 Subject: [PATCH] refactor: Join commands to remove files --- doc/manual/src/installation/uninstall.md | 9 +-------- 1 file changed, 1 insertion(+), 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: