23 lines
		
	
	
		
			269 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			269 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
|   | { | ||
|  |   lib, | ||
|  |   config, | ||
|  |   pkgs, | ||
|  |   ... | ||
|  | }: | ||
|  | 
 | ||
|  | with lib; | ||
|  | let | ||
|  |   cfg = config.modules.bitwarden; | ||
|  | in | ||
|  | { | ||
|  |   options.modules.bitwarden = { | ||
|  |     enable = mkEnableOption "Bitwarden"; | ||
|  |   }; | ||
|  | 
 | ||
|  |   config = mkIf cfg.enable { | ||
|  |     home.packages = with pkgs; [ | ||
|  |       bitwarden-desktop | ||
|  |     ]; | ||
|  |   }; | ||
|  | } |