20 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { outputs, lib, config, ... }:
 | |
| 
 | |
| let
 | |
|   cfg = config.systemModules.nixOptions;
 | |
| in
 | |
| 
 | |
| {
 | |
|   config = lib.mkIf cfg.enable {
 | |
|     nixpkgs = {
 | |
|       overlays = builtins.attrValues outputs.overlays;
 | |
|       config = {
 | |
|         allowUnfree = true;
 | |
|         permittedInsecurePackages = [
 | |
|           "openssl-1.1.1u"
 | |
|           "electron-25.9.0"
 | |
|         ];
 | |
|       };
 | |
|     };
 | |
|   };
 | |
| }
 |