macs: stop copying around authorized keys on activation
Martin Weinelt committed
Jan 4, 2026 at 18:21 UTC
7a4d2757a43d073de06e9ebeb672d9d015b28bc6
1 file changed
-6
macs/common.nix
-6
@@ -65,12 +65,6 @@ in
65
++ (import ../ssh-keys.nix).infra-core;
66
67
system.activationScripts.postActivation.text = ''
68
- printf "configuring ssh keys for hydra on the root account... "
69
- mkdir -p ~root/.ssh
70
- cp -f /etc/per-user/root/ssh/authorized_keys ~root/.ssh/authorized_keys
71
- chown root:wheel ~root ~root/.ssh ~root/.ssh/authorized_keys
72
- echo "ok"
73
-
68
printf "disabling spotlight indexing... "
69
mdutil -i off -d / &> /dev/null
70
mdutil -E / &> /dev/null