aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-11 13:03:57 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-11 13:03:57 +0200
commit313a2b502e7b1bb23b1bae43602c3eed510e1089 (patch)
tree8bca87798ad8d0faa8869ab96e3da65da89c8a4b
parent0bfa1edc43b9d25b213dc8fc02ae9218b68717d0 (diff)
This is a very stupid idea
-rw-r--r--system/encryption.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/encryption.nix b/system/encryption.nix
index 845264f..45de309 100644
--- a/system/encryption.nix
+++ b/system/encryption.nix
@@ -17,10 +17,10 @@
(writeShellScriptBin "keys-mount" ''
sudo systemctl start systemd-cryptsetup@ssh\\x2dkeys.service
sudo mount /mnt/ssh-keys
- ssh-add /mnt/ssh-keys/id_ed25519
+ ssh-add /mnt/ssh-keys/*
'')
(writeShellScriptBin "keys-umount" ''
- ssh-add -d /mnt/ssh-keys/id_ed25519
+ ssh-add -d /mnt/ssh-keys/*
sudo umount /mnt/ssh-keys
sudo systemctl stop systemd-cryptsetup@ssh\\x2dkeys.service
'')