🚀 add helix and kakoune
This commit is contained in:
parent
bb9ef66f98
commit
15f3472bf8
4 changed files with 145 additions and 0 deletions
31
modules/programs/helix.nix
Normal file
31
modules/programs/helix.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.my.programs.helix;
|
||||
in
|
||||
{
|
||||
options.my.programs.helix = {
|
||||
enable = mkOption {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
example = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.moritz.programs.helix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "dracula";
|
||||
keys.normal = {
|
||||
space.space = "file_picker";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue