configs/helix: switch to all nix config
This commit is contained in:
parent
70906dd80a
commit
8f161fa351
@ -1,9 +1,12 @@
|
|||||||
{ pkgs, writeTextFile, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
helixConfig = writeTextFile {
|
tomlFmt = pkgs.formats.toml {};
|
||||||
name = "helix/config.toml";
|
helixConfig = tomlFmt.generate "helix-config.toml" {
|
||||||
text = builtins.readFile ./helix.toml;
|
theme = "acme";
|
||||||
|
editor = {
|
||||||
|
mouse = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
helixBin = "${pkgs.helix}/bin/hx";
|
helixBin = "${pkgs.helix}/bin/hx";
|
||||||
in pkgs.writeScriptBin "hx" ''
|
in pkgs.writeScriptBin "hx" ''
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
theme = "acme"
|
|
||||||
|
|
||||||
[editor]
|
|
||||||
mouse = false
|
|
Loading…
Reference in New Issue
Block a user