From f723a9966af0a76663bdf502796eb8aa73539bea Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 11 May 2026 13:14:19 +0200 Subject: Made the ssh-keys usb have ownership from group ssh-keys and added user mun to group ssh-keys --- system/encryption.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system/encryption.nix') 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 -" + ]; } -- cgit v1.2.3