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

79 lines
1.7 KiB
Nix
Raw Normal View History

{ system }:
2022-02-22 21:52:01 +01:00
{ home-manager
# nixos stuff
2022-02-22 21:52:01 +01:00
, nixpkgs
, nixpkgs-unstable
, nixos-unstable
, ...
}: self: super:
2022-05-10 15:11:08 +02:00
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;
};
2022-02-22 21:52:01 +01:00
in
{
2022-01-30 20:19:35 +01:00
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
config.allowBroken = true;
};
2022-05-11 23:11:54 +02:00
nixos-unstable = import nixos-unstable {
inherit system;
config.allowUnfree = true;
config.allowBroken = true;
};
2022-05-10 15:11:08 +02:00
easy-purescript-nix = self.callPackage foreign.easy-purescript-nix { };
easy-dhall-nix = self.callPackage foreign.easy-dhall-nix { };
2022-03-08 22:26:20 +01:00
myFishPlugins = {
2022-05-10 15:11:08 +02:00
oh-my-fish = foreign.fishPlugins.oh-my-fish;
2022-03-09 01:15:44 +01:00
2022-03-08 22:26:20 +01:00
z = {
2022-05-10 15:11:08 +02:00
src = foreign.fishPlugins.z;
2022-03-08 22:26:20 +01:00
name = "z";
};
2022-03-08 22:26:20 +01:00
themes = {
agnoster = {
2022-05-10 15:11:08 +02:00
src = foreign.fishPlugins.themes.agnoster;
2022-03-08 22:26:20 +01:00
name = "agnoster";
};
2022-03-09 01:15:44 +01:00
dangerous = {
2022-05-10 15:11:08 +02:00
src = foreign.fishPlugins.themes.dangerous;
2022-03-09 01:15:44 +01:00
name = "dangerous";
};
2022-03-08 22:26:20 +01:00
2022-03-09 01:15:44 +01:00
harleen = {
2022-05-10 15:11:08 +02:00
src = foreign.fishPlugins.themes.harleen;
2022-03-09 01:15:44 +01:00
name = "harleen";
};
};
};
2022-03-08 22:26:20 +01:00
2022-02-22 21:52:01 +01:00
# Vim plugins
myVimPlugins = {
2022-05-10 15:11:08 +02:00
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;
2022-02-22 21:52:01 +01:00
};
2022-03-09 20:36:48 +01:00
2022-05-10 15:11:08 +02:00
sddm-theme-chili = foreign.sddm-theme-chili;
2022-02-22 21:52:01 +01:00
}