1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 20:03:56 +00:00
ultima/modules/home/programs/cli/helix/default.nix
2024-12-20 22:10:11 +09:00

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;
};
};
}