feat: add config to unlock luks with yubikey

This commit is contained in:
Moritz Böhme 2023-04-05 09:03:17 +02:00
parent d4ce5a6f60
commit f3bb23f050
2 changed files with 8 additions and 2 deletions

View file

@ -21,7 +21,7 @@
options = [ "subvol=@" "compress=zstd" "noatime" ]; options = [ "subvol=@" "compress=zstd" "noatime" ];
}; };
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/1958da8c-d506-49a6-b983-dc8477d25b7c"; boot.initrd.luks.devices."enc".device = "/dev/disk/by-uuid/1958da8c-d506-49a6-b983-dc8477d25b7c";
fileSystems."/home" = fileSystems."/home" =
{ {

View file

@ -6,7 +6,13 @@
with lib; { with lib; {
my = { my = {
# config # config
yubikey.enable = true; yubikey = {
enable = true;
luksSupport = {
enable = true;
devices = [ "enc" ];
};
};
theming = { theming = {
enable = true; enable = true;
scheme = "catppuccin-macchiato"; scheme = "catppuccin-macchiato";