Added helix.
This commit is contained in:
parent
e28b18a996
commit
5e66efc180
@ -9,8 +9,7 @@
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
# Imports
|
||||
imports =
|
||||
[
|
||||
imports = [
|
||||
./modules/gpg.nix
|
||||
./modules/btop.nix
|
||||
./modules/mpv.nix
|
||||
@ -25,9 +24,9 @@
|
||||
./modules/plasma.nix
|
||||
./modules/alacritty.nix
|
||||
./modules/newsboat.nix
|
||||
./modules/helix.nix
|
||||
];
|
||||
|
||||
|
||||
# My packages
|
||||
home.packages = with pkgs; [
|
||||
librewolf # Nice privacy browser
|
||||
@ -56,11 +55,7 @@
|
||||
heroic # Epic games/gog game launcher
|
||||
protonvpn-gui # Proton vpn gui app
|
||||
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
|
||||
(retroarch.override {
|
||||
cores = with libretro; [
|
||||
snes9x
|
||||
];
|
||||
})
|
||||
(retroarch.override { cores = with libretro; [ snes9x ]; })
|
||||
|
||||
# # You can also create simple shell scripts directly inside your
|
||||
# # configuration. For example, this adds a command 'my-hello' to your
|
||||
|
42
home-manager/modules/helix.nix
Normal file
42
home-manager/modules/helix.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user