2022-01-25 11:26:06 +01:00
|
|
|
{ system }:
|
2022-02-22 21:52:01 +01:00
|
|
|
{ home-manager
|
|
|
|
, nixpkgs
|
|
|
|
, nixpkgs-unstable
|
|
|
|
, nixos-unstable
|
|
|
|
, easy-purescript-nix
|
|
|
|
, easy-dhall-nix
|
|
|
|
, z
|
|
|
|
, agnoster
|
|
|
|
, githubNvimTheme
|
|
|
|
, vim-extra-plugins
|
|
|
|
, telescope-file-browser-nvim
|
|
|
|
, ...
|
|
|
|
}: self: super:
|
|
|
|
# installs a vim plugin from git with a given tag / branch
|
|
|
|
let plugin = name: src: self.vimUtils.buildVimPluginFrom2Nix {
|
|
|
|
inherit name;
|
|
|
|
inherit src;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2022-01-30 20:19:35 +01:00
|
|
|
unstable = import nixpkgs-unstable {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
config.allowBroken = true;
|
|
|
|
};
|
2022-01-25 11:00:09 +01:00
|
|
|
|
2022-01-30 20:19:35 +01:00
|
|
|
easy-purescript-nix = self.callPackage easy-purescript-nix { };
|
|
|
|
easy-dhall-nix = self.callPackage easy-dhall-nix { };
|
2022-01-25 11:00:09 +01:00
|
|
|
|
2022-01-30 20:19:35 +01:00
|
|
|
z = {
|
|
|
|
src = z;
|
|
|
|
name = "z";
|
|
|
|
};
|
2022-01-25 11:00:09 +01:00
|
|
|
|
2022-01-30 20:19:35 +01:00
|
|
|
agnoster = {
|
|
|
|
src = agnoster;
|
|
|
|
name = "agnoster";
|
|
|
|
};
|
2022-01-30 13:54:23 +01:00
|
|
|
|
2022-01-30 20:19:35 +01:00
|
|
|
githubNvimTheme = githubNvimTheme;
|
2022-02-22 21:52:01 +01:00
|
|
|
|
|
|
|
# Vim plugins
|
|
|
|
myVimPlugins = {
|
|
|
|
telescope-file-browser-nvim =
|
|
|
|
plugin "file_browser" telescope-file-browser-nvim;
|
|
|
|
};
|
|
|
|
}
|