From a9ab4b45140344c89a0be3af0b2da141a7e69091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 18 Aug 2023 19:07:52 +0300 Subject: [PATCH] re-enabling vim --- modules/base/users/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/base/users/default.nix b/modules/base/users/default.nix index 4808564..f75437b 100644 --- a/modules/base/users/default.nix +++ b/modules/base/users/default.nix @@ -51,10 +51,11 @@ }; home-manager.useGlobalPkgs = true; - home-manager.users.motiejus = {pkgs, ...}: { home.stateVersion = "23.05"; + programs.direnv.enable = true; + programs.vim = { enable = true; plugins = lib.mkIf config.mj.base.users.devEnvironment [ @@ -62,8 +63,12 @@ pkgs.vimPlugins.vim-go pkgs.vimPlugins.zig-vim ]; + settings = { + background = "light"; + }; extraConfig = builtins.readFile ./vimrc; }; + programs.git = { enable = true; userEmail = "motiejus@jakstys.lt"; @@ -74,11 +79,13 @@ merge.conflictstyle = "diff3"; }; }; + programs.bash = { enable = true; shellAliases = { "l" = "echo -n ł | xclip -selection clipboard"; "gp" = "${pkgs.git} remote | ${pkgs.parallel} --verbose git push"; + "elho" = "echo hello1"; }; }; };