1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 08:53:57 +00:00
ultima/modules/home/programs/cli/helix/default.nix

31 lines
378 B
Nix

{
x,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.programs.cli.helix;
in
{
options = {
module.programs.cli.helix = {
enable = mkBool;
};
};
imports = [
./settings.nix
./binds.nix
./languages.nix
./theme.nix
];
config = mkIf cfg.enable {
programs.helix = True // {
defaultEditor = true;
};
};
}