Hello.
I installed single-user nix (because I don’t have systemd) on MX Linux using the command given at Download Nix / NixOS | Nix & NixOS
I started following the quick start at 2. Run a program with Nix . (I uninstalled nix created by the Determinate Systems installer because the non-systemd version requires every nix command to be executed with sudo.)
To execute the commands in that quick start I have had to use the option --extra-experimental-features "nix-command flakes"
I would like to stop doing that. A web search tells me that I can add something to nix.conf
in order to permanently allow the use of those features. I don’t have a nix.conf
on my system.
I see /etc/nix/nix.conf
mentioned a lot but I don’t have an /etc/nix
directory. These are all the directories I have that are called nix
:
$ find / -type d -name nix
/nix
/nix/var/nix
/nix/var/log/nix
/nix/store/iwgkck1d64s5f26ngln540hpf06g28py-nix-2.20.1/libexec/nix
/nix/store/2mkwqw9wzydn8xqsb2rrfj7ar8myqx9b-nixpkgs/nixpkgs/pkgs/development/tools/yarn2nix-moretea/yarn2nix/nix
/nix/store/2mkwqw9wzydn8xqsb2rrfj7ar8myqx9b-nixpkgs/nixpkgs/pkgs/stdenv/nix
/nix/store/2mkwqw9wzydn8xqsb2rrfj7ar8myqx9b-nixpkgs/nixpkgs/pkgs/tools/package-management/nix
/nix/store/2mkwqw9wzydn8xqsb2rrfj7ar8myqx9b-nixpkgs/nixpkgs/pkgs/tools/typesetting/tex/nix
/nix/store/2mkwqw9wzydn8xqsb2rrfj7ar8myqx9b-nixpkgs/nixpkgs/pkgs/tools/nix
/home/crantok/.local/state/nix
/home/crantok/.cache/nix
Please would you tell me where I should create the nix.conf
file?