diff --git a/src/action/macos/encrypt_apfs_volume.rs b/src/action/macos/encrypt_apfs_volume.rs index c48233ba4..bced91ad9 100644 --- a/src/action/macos/encrypt_apfs_volume.rs +++ b/src/action/macos/encrypt_apfs_volume.rs @@ -42,7 +42,7 @@ impl EncryptApfsVolume { command.args(["find-generic-password", "-a"]); command.arg(&name); command.arg("-s"); - command.arg("Nix Store"); + command.arg(&name); command.arg("-l"); command.arg(format!("{} encryption password", disk.display())); command.arg("-D"); @@ -186,7 +186,7 @@ impl Action for EncryptApfsVolume { "-a", self.name.as_str(), "-s", - "Nix Store", + self.name.as_str(), "-l", format!("{} encryption password", disk_str).as_str(), "-D",