mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-22 05:14:42 +01:00
24 lines
469 B
Nix
24 lines
469 B
Nix
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let cfg = config.jade.helix;
|
|
in with lib; {
|
|
options.jade.helix = {
|
|
enable = mkEnableOption "Enable helix";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
home-manager.users.jade = { pkgs, ... }: {
|
|
programs.helix = {
|
|
enable = true;
|
|
settings = {
|
|
theme = "gruvbox";
|
|
editor = {
|
|
line-number = "relative";
|
|
lsp.display-messages = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|