hosts: move git to its own module
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -7,6 +7,7 @@ let
 | 
			
		||||
    ./nix.nix
 | 
			
		||||
    ./programs/zsh
 | 
			
		||||
    ./programs/gnupg
 | 
			
		||||
    ./programs/git
 | 
			
		||||
    {
 | 
			
		||||
      _module.args = globalArgs;
 | 
			
		||||
    }
 | 
			
		||||
@@ -15,7 +16,6 @@ let
 | 
			
		||||
    ./programs/adb
 | 
			
		||||
    ./xorg.nix
 | 
			
		||||
    ./wayland.nix
 | 
			
		||||
    ./desktop-pkgs.nix
 | 
			
		||||
    ./sound.nix
 | 
			
		||||
  ];
 | 
			
		||||
  serverModules = [ ./minimal.nix ];
 | 
			
		||||
 
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
{ pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
    tmux
 | 
			
		||||
    bc
 | 
			
		||||
    gnumake
 | 
			
		||||
    pciutils
 | 
			
		||||
    usbutils
 | 
			
		||||
    ntfs3g
 | 
			
		||||
    python3
 | 
			
		||||
    htop
 | 
			
		||||
    wget
 | 
			
		||||
    ripgrep
 | 
			
		||||
    kbd
 | 
			
		||||
    gcc
 | 
			
		||||
    vulkan-tools
 | 
			
		||||
    vulkan-headers
 | 
			
		||||
    jq
 | 
			
		||||
    dconf
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs = {
 | 
			
		||||
    git.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										4
									
								
								hosts/programs/git/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								hosts/programs/git/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  programs.git.enable = true;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user