Impermanence + Disko Setup

Hey, guys! Rebuilding my nix flake configuration ends up in a kernel panic, however, I am not sure what I am doing wrong. I have attached the nix files for your reference.


Issue 1:

backtrace:
Cannot open access to console, the root account is locked. See sulogin(8) man page for more details. 
Press Enter to continue.

This is what I get when I boot after rebuilding my system.

Issue 2:

fdisk -l tells me that my root partition is now a boot partition and I can’t find the reason why.


impermanence.nix: impermanence.nix · GitHub

disko-config.nix: disko-config.nix · GitHub

hardware-configuration.nix: hardware-configuration.nix · GitHub