configs/helix: init and install on gui machines
This commit is contained in:
parent
8d0c221031
commit
70906dd80a
11
configs/helix.nix
Normal file
11
configs/helix.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ pkgs, writeTextFile, ... }:
|
||||
|
||||
let
|
||||
helixConfig = writeTextFile {
|
||||
name = "helix/config.toml";
|
||||
text = builtins.readFile ./helix.toml;
|
||||
};
|
||||
helixBin = "${pkgs.helix}/bin/hx";
|
||||
in pkgs.writeScriptBin "hx" ''
|
||||
${helixBin} -c ${helixConfig} $@
|
||||
''
|
4
configs/helix.toml
Normal file
4
configs/helix.toml
Normal file
@ -0,0 +1,4 @@
|
||||
theme = "acme"
|
||||
|
||||
[editor]
|
||||
mouse = false
|
@ -99,6 +99,7 @@ in with lib; {
|
||||
|
||||
(callPackage ../pkgs/tailscale-systray.nix { })
|
||||
(callPackage ../pkgs/govulncheck.nix { })
|
||||
(callPackage ../configs/helix.nix { })
|
||||
];
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user