framework for yubikey but nothing done yet

This commit is contained in:
twoneis 2025-03-06 15:24:56 +01:00
parent 2e89390dd0
commit 5848a4e3f8
3 changed files with 13 additions and 0 deletions

View file

@ -22,6 +22,7 @@ in {
./utils ./utils
./vm ./vm
./website ./website
./yubikey
]; ];
documentation.nixos.enable = false; documentation.nixos.enable = false;

View file

@ -0,0 +1,11 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (config) conf;
in
mkIf conf.yuibkey.enable {
}

View file

@ -14,6 +14,7 @@ in {
extraLayout.enable = mkEnableOption "Enable additional custom layout."; extraLayout.enable = mkEnableOption "Enable additional custom layout.";
fonts.enable = mkEnableOption "Install and set preferred fonts"; fonts.enable = mkEnableOption "Install and set preferred fonts";
networkmanager.enable = mkEnableOption "Enable network manager and some related configuration"; networkmanager.enable = mkEnableOption "Enable network manager and some related configuration";
yubikey.enable = mkEnableOption "Enable support for yubikey";
# Generally server options # Generally server options
ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh."; ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh.";