From cb544b05d1af5fb293300809e7cf10f789b9e49d Mon Sep 17 00:00:00 2001 From: Jens Nolte <git@queezle.net> Date: Sun, 29 Nov 2020 21:45:59 +0100 Subject: [PATCH] Make nixpkgs path available in configurations --- configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration.nix b/configuration.nix index 8f38ed2..f977419 100644 --- a/configuration.nix +++ b/configuration.nix @@ -24,6 +24,8 @@ in # Pin channel in nix path nix.nixPath = [ "nixpkgs=${channel}" ]; + # Make nixpkgs path available inside of the configuration + _module.args.nixpkgsPath = channel; environment.shellAliases = { # nixos-option won't run without a configuration. With an empty config it does not show configured values, but can at least be used to search options and show default values. -- GitLab