diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-12-12 07:33:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 07:33:36 -0500 |
commit | 1879c7c95e14ffcda30810747f28f422f56a63e2 (patch) | |
tree | 82467a251d60cfe56325cb50121a889fa6bf7935 /doc/manual/src/installation/installing-binary.md | |
parent | 26534f141cb52adf0135e86c71628cdef844a57a (diff) | |
parent | c00fb26bed74531882c8f059094bf9e74a715c08 (diff) |
Merge branch 'master' into indexed-store-path-outputs
Diffstat (limited to 'doc/manual/src/installation/installing-binary.md')
-rw-r--r-- | doc/manual/src/installation/installing-binary.md | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/doc/manual/src/installation/installing-binary.md b/doc/manual/src/installation/installing-binary.md index 31faeadc2..a9378681d 100644 --- a/doc/manual/src/installation/installing-binary.md +++ b/doc/manual/src/installation/installing-binary.md @@ -88,6 +88,29 @@ extension. The installer will also create `/etc/profile.d/nix.sh`. ### Linux +If you are on Linux with systemd: + +1. Remove the Nix daemon service: + + ```console + sudo systemctl stop nix-daemon.service + sudo systemctl disable nix-daemon.socket nix-daemon.service + 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 @@ -103,16 +126,6 @@ done sudo groupdel 30000 ``` -If you are on Linux with systemd, remove the Nix daemon service: - -```console -sudo systemctl stop nix-daemon.socket -sudo systemctl stop nix-daemon.service -sudo systemctl disable nix-daemon.socket -sudo systemctl disable nix-daemon.service -sudo systemctl daemon-reload -``` - There may also be references to Nix in - `/etc/profile` |