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
{
inherit (env) activation-script;
inherit (env) activationPackage;
}
'';

View File

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

View File

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