1
Fork 0
satellite/modules/overlays/flakes.nix

74 lines
1.4 KiB
Nix
Raw Normal View History

{ system }:
2022-02-22 21:52:01 +01:00
{ home-manager
, nixpkgs
, nixpkgs-unstable
, nixos-unstable
, easy-purescript-nix
, easy-dhall-nix
2022-03-09 01:15:44 +01:00
, fish-plugin-z
, fish-theme-harleen
, fish-theme-agnoster
, fish-theme-dangerous
, oh-my-fish
2022-02-22 21:52:01 +01:00
, githubNvimTheme
2022-03-09 19:44:21 +01:00
, vim-plugin-arpeggio
2022-02-22 21:52:01 +01:00
, telescope-file-browser-nvim
2022-03-09 20:36:48 +01:00
, sddm-theme-chili
2022-02-22 21:52:01 +01:00
, ...
}: 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-30 20:19:35 +01:00
easy-purescript-nix = self.callPackage easy-purescript-nix { };
easy-dhall-nix = self.callPackage easy-dhall-nix { };
2022-03-08 22:26:20 +01:00
myFishPlugins = {
2022-03-09 01:15:44 +01:00
inherit oh-my-fish;
2022-03-08 22:26:20 +01:00
z = {
2022-03-09 01:15:44 +01:00
src = fish-plugin-z;
2022-03-08 22:26:20 +01:00
name = "z";
};
2022-03-08 22:26:20 +01:00
themes = {
agnoster = {
2022-03-09 01:15:44 +01:00
src = fish-theme-agnoster;
2022-03-08 22:26:20 +01:00
name = "agnoster";
};
2022-03-09 01:15:44 +01:00
dangerous = {
src = fish-theme-dangerous;
name = "dangerous";
};
2022-03-08 22:26:20 +01:00
2022-03-09 01:15:44 +01:00
harleen = {
src = fish-theme-harleen;
name = "harleen";
};
};
};
2022-03-08 22:26:20 +01:00
2022-02-22 21:52:01 +01:00
# Vim plugins
myVimPlugins = {
2022-03-10 20:59:18 +01:00
githubNvimTheme = githubNvimTheme;
2022-02-22 21:52:01 +01:00
telescope-file-browser-nvim =
plugin "file_browser" telescope-file-browser-nvim;
2022-03-09 19:44:21 +01:00
arpeggio = plugin "arpeggio" vim-plugin-arpeggio;
2022-02-22 21:52:01 +01:00
};
2022-03-09 20:36:48 +01:00
sddm-theme-chili = sddm-theme-chili;
2022-02-22 21:52:01 +01:00
}