summaryrefslogtreecommitdiff
path: root/default.nix
blob: 7e9cbcbe3ba1cc1b7ddeacc9c961b14ad7e47dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let
  nixpkgs = builtins.fetchTarball (import ./nixpkgs.nix);
  pkgs = import "${nixpkgs}" {};
  hm-src = pkgs.home-manager.src;
in
rec {
  nixpkgs = pkgs;
  home-manager = pkgs.callPackage "${hm-src}/home-manager" {
    path = toString ./home-manager;
  };

  install = pkgs.callPackage "${hm-src}/home-manager/install.nix" {
    inherit home-manager;
  };
}