This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
home-manager
Watch
1
Star
0
Fork
You've already forked home-manager
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
85b4c430eb
home-manager
/
default.nix
7 lines
98 B
Nix
Raw
Normal View
History
Unescape
Escape
home-manager: point <home-manager> to project root 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
2017-10-21 20:51:28 +02:00
{
pkgs
?
import
<nixpkgs>
{
}
}:
Return a derivation fn in main nix expression This simplifies installing by (re-)enabling the standard practice of using the main expression as a function returning the package derivation. Convert the src dir path to a string to avoid needlessly copying the whole dir to the nix store.
2017-11-15 20:33:30 +01:00
import
./home-manager
{
inherit
pkgs
;
path
=
toString
./.
;
home-manager: point <home-manager> to project root 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
2017-10-21 20:51:28 +02:00
}
Reference in a new issue
Copy permalink