testing
This commit is contained in:
@@ -55,9 +55,9 @@ in
|
|||||||
pkgs.bcachefs-tools
|
pkgs.bcachefs-tools
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
clevis decrypt < "/etc/clevis/nuc-nixos.jwe" | bcachefs unlock -k session /dev/disk/by-label/disk-main-nuc-nixos-bcachefs-root
|
${pkgs.clevis}/bin/clevis decrypt < "/etc/clevis/nuc-nixos.jwe" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock -k session /dev/disk/by-label/disk-main-nuc-nixos-bcachefs-root
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "initrd-root-device.target" ];
|
wantedBy = [ "initrd-root-fs.target" ];
|
||||||
requiredBy = [ "initrd-root-fs.target" ];
|
requiredBy = [ "initrd-root-fs.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|||||||
Reference in New Issue
Block a user