extract variables
This commit is contained in:
parent
d80e2b7018
commit
65b6be1e8d
1 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
|||
{ config, pkgs, lib, inputs, system, ... }:
|
||||
let
|
||||
unstablePackages = inputs.nixpkgs-nixos-unstable.legacyPackages."${system}";
|
||||
nil = inputs.nil.packages."${system}".default;
|
||||
cocPackage =
|
||||
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".vimPlugins.coc-nvim;
|
||||
cocPackage = unstablePackages.vimPlugins.coc-nvim;
|
||||
nvimPackage = unstablePackages.neovim-unwrapped;
|
||||
in {
|
||||
home.file.".vimrc".source = ../../../.vimrc;
|
||||
home.packages = with pkgs; [ ripgrep ];
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package =
|
||||
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".neovim-unwrapped;
|
||||
package = nvimPackage;
|
||||
coc = {
|
||||
enable = true;
|
||||
package = cocPackage;
|
||||
|
|
Loading…
Reference in a new issue