aboutsummaryrefslogtreecommitdiff
path: root/system/encryption.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-11 13:14:19 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-11 13:14:19 +0200
commitf723a9966af0a76663bdf502796eb8aa73539bea (patch)
tree9549f7a0111b94ca22f3138e6e65bb95777239d4 /system/encryption.nix
parent313a2b502e7b1bb23b1bae43602c3eed510e1089 (diff)
Made the ssh-keys usb have ownership from group ssh-keys and added user mun to group ssh-keys
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 -"
+ ];
}