diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2017-10-20 21:10:44 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2017-10-21 00:22:05 +0200 |
commit | 0f43d5df6a3511dc05028a2790aa37619d0a2d34 (patch) | |
tree | 8a7635211321e27d2184a8b8d966aa5975d897dd /modules/home-environment.nix | |
parent | 30b9d7f00ee5fb3a443682f0db3a17e12ab8ee59 (diff) |
home-environment: add extraBuilderCommands option
Diffstat (limited to '')
-rw-r--r-- | modules/home-environment.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/home-environment.nix b/modules/home-environment.nix index da0cc68e9b9..892c20cc806 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -189,6 +189,15 @@ in type = types.package; description = "The package containing the complete activation script."; }; + + home.extraBuilderCommands = mkOption { + type = types.lines; + default = ""; + internal = true; + description = '' + Extra commands to run in the Home Manager generation builder. + ''; + }; }; config = { @@ -284,6 +293,8 @@ in ln -s ${config.home-files} $out/home-files ln -s ${cfg.path} $out/home-path + + ${cfg.extraBuilderCommands} ''; }; |