Alright that was some drafts that I don't need
This commit is contained in:
		
							parent
							
								
									b662302a8a
								
							
						
					
					
						commit
						127dc51075
					
				
					 1 changed files with 4 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -55,32 +55,11 @@
 | 
			
		|||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  pkgs = [
 | 
			
		||||
    writeShellApplication
 | 
			
		||||
    {
 | 
			
		||||
      name = "dvd";
 | 
			
		||||
 | 
			
		||||
      runtimeInputs = [echo direnv];
 | 
			
		||||
 | 
			
		||||
      text = ''
 | 
			
		||||
        echo "use flake \"github:the-nix-way/dev-templates?dir=$1\"" >> .envrc
 | 
			
		||||
        direnv allow
 | 
			
		||||
      '';
 | 
			
		||||
    }
 | 
			
		||||
    writeShellApplication
 | 
			
		||||
    {
 | 
			
		||||
      name = "dvt";
 | 
			
		||||
 | 
			
		||||
      runtimeInputs = [direnv nix];
 | 
			
		||||
 | 
			
		||||
      text = ''
 | 
			
		||||
        nix flake init -t "github:the-nix-way/dev-templates#$1"
 | 
			
		||||
        direnv allow
 | 
			
		||||
      '';
 | 
			
		||||
    }
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
    # Custom tools
 | 
			
		||||
    dvd
 | 
			
		||||
    dvt
 | 
			
		||||
 | 
			
		||||
    # System tools
 | 
			
		||||
    age
 | 
			
		||||
    alejandra
 | 
			
		||||
| 
						 | 
				
			
			@ -115,9 +94,6 @@
 | 
			
		|||
 | 
			
		||||
    # User tools
 | 
			
		||||
    noisetorch
 | 
			
		||||
 | 
			
		||||
    (callPackage ../shared/scripts/dvd.nix {})
 | 
			
		||||
    (callPackage ../shared/scripts/dvt.nix {})
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs.direnv = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue