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, ... }:
|
{ config, pkgs, lib, inputs, system, ... }:
|
||||||
let
|
let
|
||||||
|
unstablePackages = inputs.nixpkgs-nixos-unstable.legacyPackages."${system}";
|
||||||
nil = inputs.nil.packages."${system}".default;
|
nil = inputs.nil.packages."${system}".default;
|
||||||
cocPackage =
|
cocPackage = unstablePackages.vimPlugins.coc-nvim;
|
||||||
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".vimPlugins.coc-nvim;
|
nvimPackage = unstablePackages.neovim-unwrapped;
|
||||||
in {
|
in {
|
||||||
home.file.".vimrc".source = ../../../.vimrc;
|
home.file.".vimrc".source = ../../../.vimrc;
|
||||||
home.packages = with pkgs; [ ripgrep ];
|
home.packages = with pkgs; [ ripgrep ];
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package =
|
package = nvimPackage;
|
||||||
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".neovim-unwrapped;
|
|
||||||
coc = {
|
coc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = cocPackage;
|
package = cocPackage;
|
||||||
|
|
Loading…
Reference in a new issue