This commit is contained in:
陈浩南 2023-08-21 16:23:28 +08:00
parent d218a03517
commit 44888d963b
2 changed files with 19 additions and 1 deletions

View File

@ -42,7 +42,7 @@ inputs:
# top
iotop iftop htop btop powertop s-tui
# editor
vim nano bat
nano bat
# downloader
wget aria2 curl
# file manager
@ -193,6 +193,7 @@ inputs:
kdeconnect.enable = true;
wireshark = { enable = true; package = inputs.pkgs.wireshark; };
firefox = { enable = true; languagePacks = [ "zh-CN" "en-US" ]; };
vim.package = inputs.pkgs.vim-full;
};
nixpkgs.config.packageOverrides = pkgs:
{

View File

@ -211,6 +211,23 @@ inputs:
};
};
};
vim =
{
enable = true;
defaultEditor = true;
settings =
{
number = true;
expandtab = false;
shiftwidth = 2;
tabstop = 2;
};
extraConfig = inputs.localLib.stripeTabs
''
set clipboard=unnamedplus
colorscheme evening
'';
};
};
};
in