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";
# Imports
imports =
[
imports = [
./modules/gpg.nix
./modules/btop.nix
./modules/mpv.nix
@ -21,13 +20,13 @@
./modules/shell.nix
./modules/nvim.nix
./modules/restic.nix
# ./modules/theming.nix Not needed when using plasma
# ./modules/theming.nix Not needed when using plasma
./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
@ -99,8 +94,8 @@
# Home manager settings
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}

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 ];
};
}