fix: add 'yubikey' module to astyanax host
This commit is contained in:
@@ -105,6 +105,25 @@ in
|
|||||||
|
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
|
my.yubikey = {
|
||||||
|
enable = true;
|
||||||
|
# inherit (config.host) username;
|
||||||
|
# keys = [
|
||||||
|
# {
|
||||||
|
# handle = "<KeyHandle1>";
|
||||||
|
# userKey = "<UserKey1>";
|
||||||
|
# coseType = "<CoseType1>";
|
||||||
|
# options = "<Options1>";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# handle = "<KeyHandle2>";
|
||||||
|
# userKey = "<UserKey2>";
|
||||||
|
# coseType = "<CoseType2>";
|
||||||
|
# options = "<Options2>";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
locate = {
|
locate = {
|
||||||
|
|||||||
@@ -70,6 +70,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
services.udev.packages = with pkgs; [ yubikey-personalization ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user