fix helix config

This commit is contained in:
ulic-youthlic 2025-01-17 15:04:37 +08:00
parent 9c60b5872c
commit ec9ea69470
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 3 additions and 2 deletions

View file

@ -38,6 +38,7 @@
programs.helix = lib.mkIf cfg.enable {
enable = true;
defaultEditor = true;
extraPackages = cfg.extraPackages;
settings =
let
config-file = builtins.readFile ./config.toml;
@ -226,6 +227,5 @@
];
};
};
# home.packages = cfg.extraPackages;
};
}

View file

@ -11,10 +11,11 @@ pkgs.runCommand "helix-wrapped"
''
mkdir -p $out/bin
makeWrapper "${lib.getExe inputs.helix.packages."${pkgs.system}".default}" $out/bin/hx \
--prefix PATH : ${
--suffix PATH : ${
lib.makeBinPath (
with pkgs;
[
rustfmt
clang-tools
libxml2
typstyle