mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: put builtin in scope when needed
This commit is contained in:
parent
d7d55059ce
commit
8271aea4ba
9 changed files with 38 additions and 34 deletions
|
|
@ -1,21 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
with builtins;
|
||||
{
|
||||
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
|
||||
vim-caddyfile
|
||||
];
|
||||
};
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
extraConfig = readFile ./vimrc;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-sleuth
|
||||
vim-surround
|
||||
vim-fugitive
|
||||
vim-commentary
|
||||
undotree
|
||||
tabular
|
||||
vim-wakatime
|
||||
vim-caddyfile
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue