zenix: remove usbkey, add cosmic-manager

This commit is contained in:
tristan 2025-06-21 12:01:48 +01:00
parent cbe883dcc6
commit 96c92c7838
6 changed files with 165 additions and 146 deletions

View file

@ -31,19 +31,12 @@ in {
options = ["noatime"];
};
boot.initrd.luks.devices."usbkey" = {
device = "/dev/disk/by-label/usbkey1";
};
# boot.initrd.luks.devices."usbkey" = {
# device = "/dev/disk/by-label/usbkey1";
# };
boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-uuid/cc0617df-8cbf-4618-abbc-df64c96de151";
keyFileSize = 4096;
preOpenCommands = ''
mkdir -m 0755 -p /key
mount -n -o ro /dev/mapper/usbkey /key
'';
keyFile = "/key/keyfile";
preLVM = false;
};
fileSystems."/home" = {