From d7fd31756e1c5f1281981c48efbb2e188024ba47 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Mon, 30 Jan 2023 15:52:05 -0700 Subject: [PATCH] Remove activation scripts again --- modules/age.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/age.nix b/modules/age.nix index 7f2fc0f..e89125e 100644 --- a/modules/age.nix +++ b/modules/age.nix @@ -277,20 +277,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