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
|
2022-03-08 22:26:20 +01:00
|
|
|
, fish-plugin-vi-mode
|
2022-02-22 21:52:01 +01:00
|
|
|
, 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-03-08 22:26:20 +01:00
|
|
|
myFishPlugins = {
|
|
|
|
z = {
|
|
|
|
src = z;
|
|
|
|
name = "z";
|
|
|
|
};
|
|
|
|
vi-mode = {
|
|
|
|
src = fish-plugin-vi-mode;
|
|
|
|
name = "vi-mode";
|
|
|
|
};
|
2022-01-25 11:00:09 +01:00
|
|
|
|
2022-03-08 22:26:20 +01:00
|
|
|
themes = {
|
|
|
|
agnoster = {
|
|
|
|
src = agnoster;
|
|
|
|
name = "agnoster";
|
|
|
|
};
|
|
|
|
};
|
2022-01-30 20:19:35 +01:00
|
|
|
};
|
2022-01-30 13:54:23 +01:00
|
|
|
|
2022-03-08 22:26:20 +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;
|
|
|
|
};
|
|
|
|
}
|