Skip to content
Snippets Groups Projects
Commit cb544b05 authored by Jens Nolte's avatar Jens Nolte
Browse files

Make nixpkgs path available in configurations

parent 18450342
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment