diff options
author | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2019-02-19 10:05:47 -0800 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-03-10 02:03:26 +0100 |
commit | d3fd287efbba3b67b2566341683289b6116eaa16 (patch) | |
tree | abc0289267497aa18ff68e5bb84a0ec990358ab4 | |
parent | 0fa19ed55565ceca8cbbce9e9416fe4c06097115 (diff) |
nix-darwin: activate home-manager through postActivation
-rw-r--r-- | nix-darwin/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index 810b3e5ee90..b637d34b9a7 100644 --- a/nix-darwin/default.nix +++ b/nix-darwin/default.nix @@ -30,8 +30,8 @@ in }; config = mkIf (cfg.users != {}) { - system.activationScripts.extraActivation.text = - lib.concatStringsSep "\n" (lib.mapAttrsToList (username: usercfg: '' + system.activationScripts.postActivation.text = + concatStringsSep "\n" (mapAttrsToList (username: usercfg: '' echo Activating home-manager configuration for ${username} sudo -u ${username} ${usercfg.home.activationPackage}/activate '') cfg.users); |