home: add config for helix
This commit is contained in:
parent
4aa4296d23
commit
aca7c581d5
5 changed files with 21 additions and 0 deletions
11
home/modules/helix/default.nix
Normal file
11
home/modules/helix/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue