hosts: move adb into a module
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -11,6 +11,7 @@ let
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
  desktopModules = [
 | 
					  desktopModules = [
 | 
				
			||||||
 | 
					    ./modules/adb
 | 
				
			||||||
    ./xorg.nix
 | 
					    ./xorg.nix
 | 
				
			||||||
    ./wayland.nix
 | 
					    ./wayland.nix
 | 
				
			||||||
    ./desktop-pkgs.nix
 | 
					    ./desktop-pkgs.nix
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
{ lib, config, inputs, pkgs, ... }:
 | 
					{ pkgs, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  environment.systemPackages = with pkgs; [
 | 
					  environment.systemPackages = with pkgs; [
 | 
				
			||||||
@@ -29,8 +29,5 @@
 | 
				
			|||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					 | 
				
			||||||
    adb.enable = true;
 | 
					 | 
				
			||||||
    gamemode.enable = true;
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								hosts/modules/adb/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								hosts/modules/adb/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  programs.adb.enable = true;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user