first yubikey stuff added
This commit is contained in:
parent
5848a4e3f8
commit
0936a5d28f
2 changed files with 13 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
secureboot.enable = true;
|
secureboot.enable = true;
|
||||||
containers.enable = true;
|
containers.enable = true;
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
yubikey.enable = true;
|
||||||
|
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
hmStateVersion = "24.11";
|
hmStateVersion = "24.11";
|
||||||
|
|
|
@ -7,5 +7,16 @@
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (config) conf;
|
inherit (config) conf;
|
||||||
in
|
in
|
||||||
mkIf conf.yuibkey.enable {
|
mkIf conf.yubikey.enable {
|
||||||
|
services.udev.packages = [pkgs.yubikey-personalization];
|
||||||
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
|
programs.gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users.${conf.username}.home.packages = with pkgs; [
|
||||||
|
yubioath-flutter
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue