mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 17:52:10 +01:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
	
		
			301 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			17 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; | ||
|  |     }; | ||
|  |   }; | ||
|  | } |