extract variables

This commit is contained in:
Cyryl Płotnicki 2022-10-31 14:06:42 +00:00
parent d80e2b7018
commit 65b6be1e8d

View file

@ -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;