nixos-config/modules/overlay.nix

56 lines
1.5 KiB
Nix
Raw Normal View History

2020-04-27 05:39:00 +04:00
{ pkgs, config, lib, inputs, ... }:
2020-02-17 17:00:59 +04:00
let
filterGit =
builtins.filterSource (type: name: name != ".git" || type != "directory");
2020-04-28 21:48:57 +04:00
system = "x86_64-linux";
old = import inputs.nixpkgs-old ({
config = config.nixpkgs.config;
localSystem = { inherit system; };
});
in {
2020-02-17 17:00:59 +04:00
nixpkgs.overlays = [
# inputs.nix.overlay
2020-11-19 14:40:03 +04:00
(self: super: rec {
nix = super.nix // {
meta = super.nix.meta // { platforms = lib.platforms.unix; };
};
2020-04-28 21:48:57 +04:00
2020-11-19 14:40:03 +04:00
nur = (import inputs.NUR {
pkgs = old;
nurpkgs = pkgs;
}).repos;
2020-02-17 17:00:59 +04:00
2020-11-19 14:40:03 +04:00
inherit (nur.balsoft.pkgs) termNote nix-patch;
2020-06-21 22:48:26 +04:00
2020-11-19 14:40:03 +04:00
# inherit (old) mautrix-telegram;
2020-05-10 01:51:05 +04:00
2021-01-13 15:24:22 +04:00
lambda-launcher = inputs.lambda-launcher.defaultPackage.x86_64-linux;
2020-07-03 12:59:36 +04:00
2020-11-19 14:40:03 +04:00
simple-osd = inputs.simple-osd-daemons.packages.x86_64-linux;
2020-09-14 02:47:04 +04:00
2020-11-19 14:40:03 +04:00
inherit old;
2020-05-22 22:30:25 +04:00
2020-11-19 14:40:03 +04:00
yt-utilities = inputs.yt-utilities.defaultPackage.x86_64-linux;
2020-02-17 17:00:59 +04:00
2020-12-10 17:19:57 +04:00
# mopidy-youtube = super.mopidy-youtube.overrideAttrs (_: { src = inputs.mopidy-youtube; });
2020-11-19 14:40:03 +04:00
nerdfonts = nur.balsoft.pkgs.roboto-mono-nerd;
2020-08-25 14:35:54 +04:00
2021-02-25 12:10:02 +04:00
weechatScripts.wee-slack = super.weechatScripts.wee-slack.overrideAttrs (oa: {
src = inputs.wee-slack;
patches = [(builtins.elemAt oa.patches 0)];
});
2021-03-08 18:57:55 +04:00
nix-zsh-completions = super.nix-zsh-completions.overrideAttrs (_: {
src = inputs.nix-zsh-completions;
});
2020-11-19 14:40:03 +04:00
# inherit (inputs.nixpkgs-mesa.legacyPackages.x86_64-linux) sway mesa_drivers;
})
2020-02-17 17:00:59 +04:00
];
2020-04-27 05:39:00 +04:00
nixpkgs.config = {
allowUnfree = true;
android_sdk.accept_license = true;
};
2020-02-17 17:00:59 +04:00
}