Skip to content

Commit

Permalink
Add path attribute to root default.nix
Browse files Browse the repository at this point in the history
This makes it possible to refer to the path of Home Manager when you
just have a Nix expression, not the actual source. Some things run
import on a source and just give access to the result of the import,
not the source.

PR #1259
  • Loading branch information
matthewbauer authored and rycee committed May 26, 2020
1 parent 5ba71ef commit 0e2858a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ rec {
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };

nixos = import ./nixos;

path = ./.;
}

0 comments on commit 0e2858a

Please sign in to comment.