diff --git a/modules/age.nix b/modules/age.nix index 277d286..e3ca0b2 100644 --- a/modules/age.nix +++ b/modules/age.nix @@ -278,20 +278,6 @@ in { }; }) (optionalAttrs isDarwin { - system.activationScripts = { - # Secrets with root owner and group can be installed before users - # exist. This allows user password files to be encrypted. - preActivation.text = builtins.concatStringsSep "\n" [ - newGeneration - installSecrets - ]; - - # Other secrets need to wait for users and groups to exist. - users.text = lib.mkAfter '' - ${chownSecrets} - ''; - }; - launchd.daemons.activate-agenix = { script = '' set -e