feat: add config to unlock luks with yubikey
This commit is contained in:
parent
d4ce5a6f60
commit
f3bb23f050
2 changed files with 8 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
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" =
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,13 @@
|
|||
with lib; {
|
||||
my = {
|
||||
# config
|
||||
yubikey.enable = true;
|
||||
yubikey = {
|
||||
enable = true;
|
||||
luksSupport = {
|
||||
enable = true;
|
||||
devices = [ "enc" ];
|
||||
};
|
||||
};
|
||||
theming = {
|
||||
enable = true;
|
||||
scheme = "catppuccin-macchiato";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue