mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:03:53 +00:00
25 lines
288 B
Nix
25 lines
288 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.programs.cli.helix;
|
|
in
|
|
{
|
|
options = {
|
|
module.programs.cli.helix = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.helix = True // {
|
|
defaultEditor = true;
|
|
};
|
|
};
|
|
}
|