diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index 810b3e5e..b637d34b 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);