activating the configuration…
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “”,
LC_ALL = (unset),
LANG = “en_us.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Cannot give you nix specific answer but LC_ALL overrides locale variables and the proper way is to set individual locale variables (sometimes in bulk using the single option you mentioned). LC_ALL should be unset for regular use
undefined variable 'lib' at /etc/nixos/configuration.nix:48:23
(use '--show-trace' to show detailed location information)
building Nix...
error: undefined variable 'lib' at /etc/nixos/configuration.nix:48:23
(use '--show-trace' to show detailed location information)
building the system configuration...
error: undefined variable 'lib' at /etc/nixos/configuration.nix:48:23
(use '--show-trace' to show detailed location information)