aboutsummaryrefslogtreecommitdiff
path: root/system/encryption.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/encryption.nix')
-rw-r--r--system/encryption.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/encryption.nix b/system/encryption.nix
index 45de309..a3b60d4 100644
--- a/system/encryption.nix
+++ b/system/encryption.nix
@@ -25,4 +25,8 @@
sudo systemctl stop systemd-cryptsetup@ssh\\x2dkeys.service
'')
];
+
+ systemd.tmpfiles.rules = [
+ "d /mnt/ssh-keys 0770 root ssh-keys -"
+ ];
}