chore: refactor
This commit is contained in:
		
							parent
							
								
									1787d206c2
								
							
						
					
					
						commit
						0f6f431cd4
					
				
					 2 changed files with 7 additions and 4 deletions
				
			
		| 
						 | 
					@ -53,7 +53,6 @@
 | 
				
			||||||
      path+=('/home/sajenim/.repositories/sysadmin.sh/bin')
 | 
					      path+=('/home/sajenim/.repositories/sysadmin.sh/bin')
 | 
				
			||||||
      bindkey "^[[1;5C" forward-word
 | 
					      bindkey "^[[1;5C" forward-word
 | 
				
			||||||
      bindkey "^[[1;5D" backward-word
 | 
					      bindkey "^[[1;5D" backward-word
 | 
				
			||||||
      export _JAVA_AWT_WM_NONREPARENTING=1
 | 
					 | 
				
			||||||
      export PATH
 | 
					      export PATH
 | 
				
			||||||
      PROMPT='%F{blue}%n@%m %F{cyan}%~ %F{red}♥ %f';
 | 
					      PROMPT='%F{blue}%n@%m %F{cyan}%~ %F{red}♥ %f';
 | 
				
			||||||
    '';
 | 
					    '';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,9 +7,13 @@
 | 
				
			||||||
  # You can change versions, add patches, set compilation flags, anything really.
 | 
					  # You can change versions, add patches, set compilation flags, anything really.
 | 
				
			||||||
  # https://nixos.wiki/wiki/Overlays
 | 
					  # https://nixos.wiki/wiki/Overlays
 | 
				
			||||||
  modifications = final: prev: {
 | 
					  modifications = final: prev: {
 | 
				
			||||||
    # example = prev.example.overrideAttrs (oldAttrs: rec {
 | 
					    logisim-evolution = prev.logisim-evolution.overrideAttrs (oldAttrs: {
 | 
				
			||||||
    # ...
 | 
					      postInstall =
 | 
				
			||||||
    # });
 | 
					        (oldAttrs.postInstall or "")
 | 
				
			||||||
 | 
					        + ''
 | 
				
			||||||
 | 
					          wrapProgram $out/bin/logisim-evolution --set _JAVA_AWT_WM_NONREPARENTING 1
 | 
				
			||||||
 | 
					        '';
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # When applied, the unstable nixpkgs set (declared in the flake inputs) will
 | 
					  # When applied, the unstable nixpkgs set (declared in the flake inputs) will
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue