mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:23:52 +00:00
14 lines
323 B
Nix
14 lines
323 B
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.programs.cli.helix;
|
|
in {
|
|
options = { module.programs.cli.helix = { enable = mkEnableOption ""; }; };
|
|
|
|
imports = [ ./sets.nix ./binds.nix ./langs.nix ./theme.nix ];
|
|
config =
|
|
mkIf cfg.enable { programs.helix = True // { defaultEditor = true; }; };
|
|
}
|
|
|