configs/helix: switch to all nix config

This commit is contained in:
Aaron Bieber 2023-05-02 18:21:09 -06:00
parent 70906dd80a
commit 8f161fa351
No known key found for this signature in database
2 changed files with 7 additions and 8 deletions

View File

@ -1,9 +1,12 @@
{ pkgs, writeTextFile, ... }:
{ pkgs, ... }:
let
helixConfig = writeTextFile {
name = "helix/config.toml";
text = builtins.readFile ./helix.toml;
tomlFmt = pkgs.formats.toml {};
helixConfig = tomlFmt.generate "helix-config.toml" {
theme = "acme";
editor = {
mouse = false;
};
};
helixBin = "${pkgs.helix}/bin/hx";
in pkgs.writeScriptBin "hx" ''

View File

@ -1,4 +0,0 @@
theme = "acme"
[editor]
mouse = false