style(nix): flatten attrsets

This commit is contained in:
Léana 江 2024-02-02 07:41:01 +01:00 committed by Léana 江
parent b08f2ad622
commit 307cedac44
5 changed files with 36 additions and 42 deletions

View file

@ -1,17 +1,17 @@
{pkgs, ...}: {
programs = {
vim = {
enable = true;
extraConfig = builtins.readFile ./vimrc;
plugins = with pkgs.vimPlugins;[
vim-sleuth
vim-surround
vim-fugitive
vim-commentary
undotree
tabular
vim-wakatime
];
};
programs.vim = let
inherit (builtins) readFile;
in {
enable = true;
extraConfig = readFile ./vimrc;
plugins = with pkgs.vimPlugins; [
vim-sleuth
vim-surround
vim-fugitive
vim-commentary
undotree
tabular
vim-wakatime
];
};
}