added gitbutler, introduced maintenance for nixpkgs, cleaned up some files, keyring should now unlock ad login
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   config,
 | |
|   lib,
 | |
|   namespace,
 | |
|   options,
 | |
|   pkgs,
 | |
|   ...
 | |
| }:
 | |
| let
 | |
|   inherit (lib) mkIf mkEnableOption;
 | |
|   cfg = config.${namespace}.apps.steam;
 | |
| in
 | |
| {
 | |
|   options.${namespace}.apps.steam = {
 | |
|     enable = mkEnableOption "Whether or not to enable support for Steam.";
 | |
|   };
 | |
| 
 | |
|   config = mkIf cfg.enable {
 | |
|     programs.steam = {
 | |
|       enable = true;
 | |
|       remotePlay.openFirewall = true;
 | |
|       dedicatedServer.openFirewall = true;
 | |
|       extraCompatPackages = with pkgs; [ proton-ge-bin ];
 | |
|     };
 | |
| 
 | |
|     environment.systemPackages = with pkgs; [
 | |
|       protontricks
 | |
|     ];
 | |
|   };
 | |
| }
 |