working nixvim!

This commit is contained in:
vali 2024-05-21 23:41:23 +02:00
commit 1ae2d7cc6a
8 changed files with 100 additions and 20 deletions

View file

@ -1,12 +1,11 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.editors.helix;
username = config.modules.other.system.username;
in {
options.modules.editors.helix.enable = mkEnableOption "helix";
options.modules.editors.helix.enable = lib.mkEnableOption "helix";
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
home-manager.users.${username} = {
programs.helix = {
enable = true;
@ -20,7 +19,7 @@ in {
cursor-shape = { insert = "bar"; };
statusline.left =
[ "mode" "spinner" "version-control" "file-name" ];
[ "mode" "spinner" "version-control" "file-name" ];
};
keys.normal = {
C-g =