mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
06d4f39e7b
This changes the installation command from nix-shell $HM_PATH -A install --run 'home-manager switch' to nix-shell $HM_PATH -A install The added shell hook will print some useful information and run `home-manager switch`.
12 lines
215 B
Nix
12 lines
215 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
rec {
|
|
home-manager = import ./home-manager {
|
|
inherit pkgs;
|
|
path = toString ./.;
|
|
};
|
|
|
|
install = import ./home-manager/install.nix {
|
|
inherit home-manager pkgs;
|
|
};
|
|
}
|