Hello, some days ago I tried to install luks on my hard drive, but instead of reading like I should’ve I just copied and pasted the code on my /etc/configuration.nix( yes i know how dumb I am). Now, around two days later I turned off my computer and when I turned it back on it’s asking the passphrase for /dev/disk/by-label/nixos(which I did not set) and when I try to enter any password it prints:
Verifying passphrase for /dev/disk/by-label/nixos…Device /dev/disk/by-label/nixos is not a valid LUKS device.
I tried to search for a default password or use my root password and neither worked. I’m dumb I know, but can anyone please help me?