1
Fork 0
satellite/modules/overlays/flakes.nix
2022-05-12 00:11:54 +03:00

79 lines
1.7 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;
};
nixos-unstable = import nixos-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;
}