diff --git a/configuration.nix b/configuration.nix index 8f38ed2b0c028609ffc3e775d1059dcc22e05e39..f9774192749ea31e9dd5805bffa66d8396d31864 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.