Added helix.

This commit is contained in:
CronyAkatsuki 2024-02-25 20:44:04 +01:00
parent e28b18a996
commit 5e66efc180
2 changed files with 48 additions and 11 deletions

View File

@ -9,8 +9,7 @@
home.stateVersion = "23.11"; home.stateVersion = "23.11";
# Imports # Imports
imports = imports = [
[
./modules/gpg.nix ./modules/gpg.nix
./modules/btop.nix ./modules/btop.nix
./modules/mpv.nix ./modules/mpv.nix
@ -25,9 +24,9 @@
./modules/plasma.nix ./modules/plasma.nix
./modules/alacritty.nix ./modules/alacritty.nix
./modules/newsboat.nix ./modules/newsboat.nix
./modules/helix.nix
]; ];
# My packages # My packages
home.packages = with pkgs; [ home.packages = with pkgs; [
librewolf # Nice privacy browser librewolf # Nice privacy browser
@ -56,11 +55,7 @@
heroic # Epic games/gog game launcher heroic # Epic games/gog game launcher
protonvpn-gui # Proton vpn gui app protonvpn-gui # Proton vpn gui app
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
(retroarch.override { (retroarch.override { cores = with libretro; [ snes9x ]; })
cores = with libretro; [
snes9x
];
})
# # You can also create simple shell scripts directly inside your # # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your # # configuration. For example, this adds a command 'my-hello' to your

View File

@ -0,0 +1,42 @@
{ inputs, pkgs, ... }: {
programs.helix = {
enable = true;
settings = {
theme = "catppuccin_frappe";
editor = {
auto-pairs = false;
mouse = false;
line-number = "relative";
lsp.display-messages = true;
color-modes = true;
cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
statusline = {
left = [
"mode"
"file-modification-indicator"
"diagnostics"
"file-name"
"read-only-indicator"
];
center = [ "spinner" ];
right = [ "file-type" "separator" "position" "total-line-numbers" ];
mode = {
normal = "N";
insert = "I";
select = "V";
};
};
};
};
languages.language = [{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
}];
extraPackages = [ pkgs.nil ];
};
}