mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 09:42:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			301 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			301 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, lib, ... }:
 | |
| let
 | |
|   cfg = config.my.hardware.id-card;
 | |
| in
 | |
| {
 | |
|   options.my.hardware.id-card = with lib; {
 | |
|     enable = mkEnableOption "german id card authentication";
 | |
|   };
 | |
| 
 | |
|   config = lib.mkIf cfg.enable {
 | |
|     programs.ausweisapp = {
 | |
|       enable = true;
 | |
|       openFirewall = true;
 | |
|     };
 | |
|   };
 | |
| }
 | 
