aboutsummaryrefslogtreecommitdiff
path: root/system/encryption.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/encryption.nix')
-rw-r--r--system/encryption.nix13
1 files changed, 0 insertions, 13 deletions
diff --git a/system/encryption.nix b/system/encryption.nix
index 4172542..4007771 100644
--- a/system/encryption.nix
+++ b/system/encryption.nix
@@ -2,14 +2,6 @@
# The encrypted USB is NOT part of boot anymore
# We do NOT use crypttab or systemd-cryptsetup units at all
- fileSystems."/mnt/ssh-keys" = {
- device = "/dev/mapper/ssh-keys";
- fsType = "ext4";
-
- # keep it fully manual/on-demand
- options = ["noauto" "nofail"];
- };
-
environment.systemPackages = with pkgs; [
cryptsetup
@@ -52,9 +44,4 @@
echo "✅ Done"
'')
];
-
- # Create mountpoint safely (but do NOT enforce permissions on contents)
- systemd.tmpfiles.rules = [
- "d /mnt/ssh-keys 0755 root root -"
- ];
}