73 lines
1.6 KiB
Nix
73 lines
1.6 KiB
Nix
{ system }:
|
|
{ home-manager
|
|
# nixos stuff
|
|
, nixpkgs
|
|
, nixpkgs-unstable
|
|
, nixos-unstable
|
|
, ...
|
|
}: self: super:
|
|
let
|
|
foreign = self.callPackage (import ../foreign.nix) { };
|
|
|
|
# installs a vim plugin from git with a given tag / branch
|
|
plugin = name: src: self.vimUtils.buildVimPluginFrom2Nix {
|
|
inherit name;
|
|
inherit src;
|
|
};
|
|
in
|
|
{
|
|
unstable = import nixpkgs-unstable {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
config.allowBroken = true;
|
|
};
|
|
|
|
easy-purescript-nix = self.callPackage foreign.easy-purescript-nix { };
|
|
easy-dhall-nix = self.callPackage foreign.easy-dhall-nix { };
|
|
|
|
myFishPlugins = {
|
|
oh-my-fish = foreign.fishPlugins.oh-my-fish;
|
|
|
|
z = {
|
|
src = foreign.fishPlugins.z;
|
|
name = "z";
|
|
};
|
|
|
|
themes = {
|
|
agnoster = {
|
|
src = foreign.fishPlugins.themes.agnoster;
|
|
name = "agnoster";
|
|
};
|
|
|
|
dangerous = {
|
|
src = foreign.fishPlugins.themes.dangerous;
|
|
name = "dangerous";
|
|
};
|
|
|
|
harleen = {
|
|
src = foreign.fishPlugins.themes.harleen;
|
|
name = "harleen";
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
# Vim plugins
|
|
myVimPlugins = {
|
|
githubNvimTheme = foreign.githubNvimTheme;
|
|
|
|
telescope-file-browser-nvim = plugin "file_browser"
|
|
foreign.vimPlugins.telescope-file-browser-nvim;
|
|
agda-nvim = plugin "agda"
|
|
foreign.vimPlugins.agda-nvim;
|
|
idris2-nvim = plugin "idris"
|
|
foreign.vimPlugins.idris2-nvim;
|
|
arpeggio = plugin "arpeggio"
|
|
foreign.vimPlugins.arpeggio;
|
|
kmonad = plugin "kmonad-vim"
|
|
foreign.vimPlugins.kmonad;
|
|
};
|
|
|
|
sddm-theme-chili = foreign.sddm-theme-chili;
|
|
}
|