nix-config/home/modules/helix/default.nix
Tim Schubert 16666b8adf
Fix cs (#25)
* fix format

* make pre-push hook into pre-commit-hook
2022-11-01 19:38:55 +01:00

12 lines
276 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.dadada.home.helix;
in
{
options.dadada.home.helix.enable = lib.mkEnableOption "Enable helix editor";
config = lib.mkIf cfg.enable {
home.file.".config/helix".source = ./config;
home.packages = [ pkgs.helix ];
};
}