summaryrefslogtreecommitdiff
path: root/default.nix
blob: 2268a4fb3f3736de4dd9510b6d0e0982efa5fe7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let
  nixpkgs = builtins.fetchTarball (import ./nixpkgs.nix);
  pkgs = import "${nixpkgs}" {
    overlays = [./overlay.nix];
  };
  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;
  };
}