diff --git a/hosts/writter-deck/home.nix b/hosts/writter-deck/home.nix index 57a8f97..7f65f3c 100644 --- a/hosts/writter-deck/home.nix +++ b/hosts/writter-deck/home.nix @@ -1,8 +1,7 @@ -{ - config, - pkgs, - lib, - ... +{ config +, pkgs +, lib +, ... }: let @@ -19,6 +18,7 @@ in ../../modules/home-manager/nvim ../../modules/home-manager/pi ../../modules/home-manager/tmux + ../../modules/home-manager/eza ]; home = { @@ -41,6 +41,8 @@ in oh-my-posh.enable = true; pi.enable = true; nvim.enable = true; + eza.enable = true; + bat.enable = true; }; home.packages = with pkgs; [ @@ -81,8 +83,11 @@ in font-bold = "${mainFont}:size=${toString fontSize}"; pad = "12x12"; }; + mouse = { + hide-when-typing = "yes"; + }; scrollback.lines = 10000; - cursor.style = "beam"; + cursor.style = "block"; colors-dark = { alpha = 1.0; background = "282828"; diff --git a/modules/home-manager/eza/default.nix b/modules/home-manager/eza/default.nix new file mode 100644 index 0000000..df0d980 --- /dev/null +++ b/modules/home-manager/eza/default.nix @@ -0,0 +1,21 @@ +{ + lib, + config, + pkgs, + ... +}: +{ + + options.custom = { + eza.enable = lib.mkEnableOption "enable eza - a modern replacement for ls"; + }; + + config = lib.mkIf config.custom.eza.enable { + programs.eza = { + enable = true; + enableZshIntegration = true; + colors = "auto"; + icons = "auto"; + }; + }; +} diff --git a/modules/home-manager/nvim/nvim/lua/plugins/parinfer.lua b/modules/home-manager/nvim/nvim/lua/plugin_bkp/parinfer.lua similarity index 100% rename from modules/home-manager/nvim/nvim/lua/plugins/parinfer.lua rename to modules/home-manager/nvim/nvim/lua/plugin_bkp/parinfer.lua diff --git a/modules/home-manager/nvim/nvim/lua/plugins/comment.lua b/modules/home-manager/nvim/nvim/lua/plugins/comment.lua index fb1ab6e..9762bc5 100644 --- a/modules/home-manager/nvim/nvim/lua/plugins/comment.lua +++ b/modules/home-manager/nvim/nvim/lua/plugins/comment.lua @@ -3,5 +3,4 @@ return { "nvim-mini/mini.comment", version = false, }, - { "windwp/nvim-autopairs", event = "InsertEnter", opts = {} }, }