configs/helix: switch to all nix config
This commit is contained in:
parent
70906dd80a
commit
8f161fa351
@ -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" ''
|
||||
|
@ -1,4 +0,0 @@
|
||||
theme = "acme"
|
||||
|
||||
[editor]
|
||||
mouse = false
|
Loading…
Reference in New Issue
Block a user