disable yubikey fde unlock
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
||||||
# Updated: 2026/05/31 15:18:34 by tomoron ### ########.fr #
|
# Updated: 2026/06/09 17:10:44 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -15,21 +15,24 @@
|
|||||||
{
|
{
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
boot.initrd.kernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" ];
|
boot.initrd.kernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" ];
|
||||||
boot.initrd.systemd.enable = false;
|
boot.initrd.systemd.enable = true;
|
||||||
boot.initrd.luks.yubikeySupport = true;
|
boot.initrd.luks.yubikeySupport = false;
|
||||||
boot.initrd.luks.devices.cryptroot = {
|
boot.initrd.luks.devices.cryptroot = {
|
||||||
device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
#set up initial : https://wiki.nixos.org/wiki/Yubikey_based_Full_Disk_Encryption_(FDE)_on_NixOS
|
#set up initial : https://wiki.nixos.org/wiki/Yubikey_based_Full_Disk_Encryption_(FDE)_on_NixOS
|
||||||
yubikey = {
|
#yubikey = { #bad implementation upstream. unlock with be with fallback password until it's better
|
||||||
twoFactor = false;
|
# twoFactor = false;
|
||||||
keyLength = 64;
|
# keyLength = 64;
|
||||||
saltLength = 32;
|
# saltLength = 32;
|
||||||
storage = {
|
# storage = {
|
||||||
device = "/dev/disk/by-uuid/BA5C-F216";
|
# device = "/dev/disk/by-uuid/BA5C-F216";
|
||||||
path = "/default";
|
# path = "/default";
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup
|
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup
|
||||||
|
|||||||
Reference in New Issue
Block a user