From 47c2adc6b31e9cff335010f570814e44418e2b3e Mon Sep 17 00:00:00 2001
From: Norbert Melzer <timmelzer@gmail.com>
Date: Wed, 28 Jun 2023 11:41:08 +0200
Subject: [PATCH] docs: update link to allowed users setting (#4176)

1. The option has been renamed in NixOS about a year ago.
2. The link into the manual describing that option has been
   fixed.
---
 docs/installation.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/installation.adoc b/docs/installation.adoc
index da596e16..7b2ecd43 100644
--- a/docs/installation.adoc
+++ b/docs/installation.adoc
@@ -33,7 +33,7 @@ standard way using channels. If you prefer to use
 === Standalone installation
 
 :nix-allowed-users: https://nixos.org/nix/manual/#conf-allowed-users
-:nixos-allowed-users: https://nixos.org/nixos/manual/options.html#opt-nix.allowedUsers
+:nixos-allowed-users: https://nixos.org/manual/nixos/stable/options.html#opt-nix.settings.allowed-users
 :bash: https://www.gnu.org/software/bash/
 :zsh: http://zsh.sourceforge.net/
 :fish: https://fishshell.com
@@ -47,7 +47,7 @@ example, you should be able to successfully run a command like
 root user. For a multi-user install of Nix this means that your user
 must be covered by the {nix-allowed-users}[`allowed-users`] Nix
 option. On NixOS you can control this option using the
-{nixos-allowed-users}[`nix.allowedUsers`] system option.
+{nixos-allowed-users}[`nix.settings.allowed-users`] system option.
 
 2. Add the appropriate Home Manager channel. If you are following
 Nixpkgs master or an unstable channel you can run