forked from fabian/nix
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			334 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			334 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   config,
 | |
|   lib,
 | |
|   pkgs,
 | |
|   ...
 | |
| }:
 | |
| with lib; let
 | |
|   cfg = config.local.services.yubikey;
 | |
| in {
 | |
|   options.local.services.yubikey = {
 | |
|     enable = mkEnableOption "Yubikey home settings";
 | |
|   };
 | |
|   config = mkIf cfg.enable {
 | |
|     home.packages = with pkgs; [
 | |
|       yubikey-manager
 | |
|       yubico-pam
 | |
|       yubikey-personalization
 | |
|     ];
 | |
|   };
 | |
| }
 |