mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-02 15:09:40 +00:00
style(nix): flatten attrsets
This commit is contained in:
parent
b08f2ad622
commit
307cedac44
5 changed files with 36 additions and 42 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue