mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 13:19:44 +01:00
0e2858af94
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
12 lines
247 B
Nix
12 lines
247 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
rec {
|
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
|
|
|
install =
|
|
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
|
|
|
|
nixos = import ./nixos;
|
|
|
|
path = ./.;
|
|
}
|