hm-modules: initial helix support

This commit is contained in:
Veneficium 2024-12-05 21:54:31 +01:00
parent 973e27e41d
commit 1b2f5d6094
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{ config, lib, ... }:
{
options.settings.programs.helix = {
enable = lib.mkEnableOption "enables the helix modal editor";
};
config = lib.mkIf config.settings.programs.helix.enable {
programs.helix = {
enable = true;
settings = builtins.fromTOML (builtins.readFile ./config.toml);
};
};
}