diff --git a/modules/examples/hydra.nix b/modules/examples/hydra.nix index 34250cdd..97dfddf8 100644 --- a/modules/examples/hydra.nix +++ b/modules/examples/hydra.nix @@ -48,6 +48,11 @@ in users.users.hydra = { uid = 530; gid = 530; description = "Hydra"; home = "/Users/hydra"; shell = "/bin/bash"; }; system.activationScripts.postActivation.text = '' + printf "disabling spotlight indexing... " + mdutil -i off -d / &> /dev/null + mdutil -E / &> /dev/null + echo "ok" + printf "configuring ssh keys for hydra... " mkdir -p ~hydra/.ssh cp -f /etc/per-user/hydra/ssh/authorized_keys ~hydra/.ssh/authorized_keys