Skip to content

Commit

Permalink
Use nix show-config | grep trusted-users to check if $USER is tru…
Browse files Browse the repository at this point in the history
…sted (#80)
  • Loading branch information
yvan-sraka authored Jul 5, 2023
1 parent ef3b69e commit 7aa98cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It requires [`nix` to be installed](https://nixos.org/download.html).

Once you have `nix` installed you can check that everything is working correctly:
* Make sure to add `experimental-features = nix-command flakes` and `accept-flake-config = true` lines to `$XDG_CONFIG_HOME/nix/nix.conf` file ;
* Make sure your `$USER` is trusted `grep 'trusted-users' /etc/nix/nix.conf`, otherwise add it to `/etc/nix/nix.conf` and restart `nix-daemon` ;
* Make sure your `$USER` is trusted `nix show-config | grep trusted-users`, otherwise add it to `/etc/nix/nix.conf` and restart `nix-daemon` ;
* Make sure the `nix-daemon` is running using `systemctl status nix-daemon` (if your OS is `systemd`-based).

Once you have `nix`, (linux, macOS, windows WSL) you can use
Expand Down

0 comments on commit 7aa98cc

Please sign in to comment.