mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 22:50:39 +00:00
bf3a8c6383
Before this path would point to the modules path. Using the project root instead makes it possible to set `<home-manager>` to point to a downloadable archive of Home Manager. This should make it significantly easier to install and keep Home Manager up to date. To match this change we also deprecate the Home Manager option programs.home-manager.modulesPath and instead ask users to use programs.home-manager.path
14 lines
245 B
Nix
14 lines
245 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
rec {
|
|
home-manager = import ./home-manager {
|
|
inherit pkgs;
|
|
path = ./.;
|
|
};
|
|
|
|
install =
|
|
pkgs.runCommand
|
|
"home-manager-install"
|
|
{ propagatedBuildInputs = [ home-manager ]; }
|
|
"";
|
|
}
|