1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

home-manager: minor attribute rename

The "activation-script" attribute doesn't actually point directly at
the activation script. Renamed the attribute to be more descriptive.
This commit is contained in:
Robert Helgesson 2017-08-27 13:04:39 +02:00
parent 2245b0ac94
commit b4fff6b9b7
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ let
}; };
in in
{ {
inherit (env) activation-script; inherit (env) activationPackage;
} }
''; '';

View file

@ -67,7 +67,7 @@ function doBuild() {
"@HOME_MANAGER_EXPR_PATH@" \ "@HOME_MANAGER_EXPR_PATH@" \
--argstr confPath "$HOME_MANAGER_CONFIG" \ --argstr confPath "$HOME_MANAGER_CONFIG" \
--argstr confAttr "$HOME_MANAGER_CONFIG_ATTRIBUTE" \ --argstr confAttr "$HOME_MANAGER_CONFIG_ATTRIBUTE" \
-A activation-script -A activationPackage
} }
function doSwitch() { function doSwitch() {

View file

@ -83,6 +83,6 @@ in
{ {
inherit (module) options config; inherit (module) options config;
activation-script = module.config.home.activationPackage; activationPackage = module.config.home.activationPackage;
home-path = module.config.home.path; home-path = module.config.home.path;
} }