fix helix config
This commit is contained in:
		
							parent
							
								
									9c60b5872c
								
							
						
					
					
						commit
						ec9ea69470
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -38,6 +38,7 @@
 | 
				
			||||||
      programs.helix = lib.mkIf cfg.enable {
 | 
					      programs.helix = lib.mkIf cfg.enable {
 | 
				
			||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
        defaultEditor = true;
 | 
					        defaultEditor = true;
 | 
				
			||||||
 | 
					        extraPackages = cfg.extraPackages;
 | 
				
			||||||
        settings =
 | 
					        settings =
 | 
				
			||||||
          let
 | 
					          let
 | 
				
			||||||
            config-file = builtins.readFile ./config.toml;
 | 
					            config-file = builtins.readFile ./config.toml;
 | 
				
			||||||
| 
						 | 
					@ -226,6 +227,5 @@
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      # home.packages = cfg.extraPackages;
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,10 +11,11 @@ pkgs.runCommand "helix-wrapped"
 | 
				
			||||||
  ''
 | 
					  ''
 | 
				
			||||||
    mkdir -p $out/bin
 | 
					    mkdir -p $out/bin
 | 
				
			||||||
    makeWrapper "${lib.getExe inputs.helix.packages."${pkgs.system}".default}" $out/bin/hx \
 | 
					    makeWrapper "${lib.getExe inputs.helix.packages."${pkgs.system}".default}" $out/bin/hx \
 | 
				
			||||||
    --prefix PATH : ${
 | 
					    --suffix PATH : ${
 | 
				
			||||||
      lib.makeBinPath (
 | 
					      lib.makeBinPath (
 | 
				
			||||||
        with pkgs;
 | 
					        with pkgs;
 | 
				
			||||||
        [
 | 
					        [
 | 
				
			||||||
 | 
					          rustfmt
 | 
				
			||||||
          clang-tools
 | 
					          clang-tools
 | 
				
			||||||
          libxml2
 | 
					          libxml2
 | 
				
			||||||
          typstyle
 | 
					          typstyle
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue