major home-manager changes
This commit is contained in:
		
							
								
								
									
										18
									
								
								overlays/anup/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								overlays/anup/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
{ lib, rustPlatform, fetchFromGitHub, sqlite, xdg_utils}:
 | 
			
		||||
 | 
			
		||||
rustPlatform.buildRustPackage rec {
 | 
			
		||||
  pname = "anup";
 | 
			
		||||
  version = "0.4.0";
 | 
			
		||||
  src = fetchFromGitHub {
 | 
			
		||||
    owner = "Acizza";
 | 
			
		||||
    repo = "anup";
 | 
			
		||||
    rev = version;
 | 
			
		||||
    sha256 = "sha256-4pXF4p4K8+YihVB9NdgT6bOidmQEgWXUbcbvgXJ0IDA=";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  buildInputs = [
 | 
			
		||||
    sqlite.dev
 | 
			
		||||
    xdg_utils
 | 
			
		||||
  ];
 | 
			
		||||
  cargoSha256 = "sha256-1TA2HDHKA3twFtlAWaC2zcRzS8TJwcbBt1OTQ3hC3qM=";
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								overlays/gruvbox-icons/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								overlays/gruvbox-icons/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
{ stdenv, fetchgit }:
 | 
			
		||||
stdenv.mkDerivation rec {
 | 
			
		||||
  name = "gruvbox-icons";
 | 
			
		||||
  src = fetchgit {
 | 
			
		||||
    url = "https://github.com/sainnhe/gruvbox-material-gtk";
 | 
			
		||||
    rev = "2418ff7988411c57f8974f14adeb70a64e7f25c1";
 | 
			
		||||
    sha256 = "sha256-56Mu8zHcnB4++QXjAq3S7/UPvDB8DlpT14mAW3ketSY=";
 | 
			
		||||
  };
 | 
			
		||||
  dontBuild = true;
 | 
			
		||||
  installPhase = ''
 | 
			
		||||
    mkdir -p $out/share
 | 
			
		||||
    cp -r icons $out/share
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -1,4 +1,6 @@
 | 
			
		||||
final: prev: {
 | 
			
		||||
  mpd_discord_richpresence = prev.callPackage ./mpd-rpc {};
 | 
			
		||||
  customscripts = prev.callPackage ./customscripts {};
 | 
			
		||||
  gruvbox-icons = prev.callPackage ./gruvbox-icons {};
 | 
			
		||||
  anup = prev.callPackage ./anup {};
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user