nixos-config/modules/overlay.nix

84 lines
2.8 KiB
Nix
Raw Normal View History

2020-08-04 01:46:48 +04:00
{ pkgs, config, lib, inputs, ... }:
2020-09-08 03:07:50 +04:00
let
system = "x86_64-linux";
2021-08-17 23:36:33 +03:00
stable = import inputs.nixpkgs-stable ({
2020-09-08 03:07:50 +04:00
config = config.nixpkgs.config;
localSystem = { inherit system; };
});
2021-04-02 21:50:33 +03:00
master = import inputs.nixpkgs-master ({
config = config.nixpkgs.config;
localSystem = { inherit system; };
});
2020-09-08 03:07:50 +04:00
in
2020-08-04 01:46:48 +04:00
{
2019-08-27 23:41:02 +04:00
nixpkgs.overlays = [
2021-03-17 23:06:12 +03:00
# (import "${inputs.nixpkgs-mozilla}/lib-overlay.nix")
(import "${inputs.nixpkgs-mozilla}/rust-overlay.nix")
2020-02-05 04:30:49 +04:00
(self: super:
rec {
2020-08-04 01:46:48 +04:00
inherit inputs;
2020-02-10 20:06:45 +04:00
2020-08-11 02:38:02 +04:00
youtube-to-mpv = pkgs.callPackage ./packages/youtube-to-mpv.nix { term = config.defaultApplications.term.cmd; };
2020-08-10 01:17:22 +04:00
wg-conf = pkgs.callPackage ./packages/wg-conf.nix { };
i3lock-fancy-rapid = pkgs.callPackage ./packages/i3lock-fancy-rapid.nix { };
xonar-fp = pkgs.callPackage ./packages/xonar-fp.nix { };
advance-touch = pkgs.callPackage ./packages/advance-touch.nix { };
nomino = pkgs.callPackage ./packages/nomino.nix { };
2021-06-16 05:30:04 +03:00
# bpytop = pkgs.callPackage ./packages/bpytop.nix { };
2020-08-10 01:17:22 +04:00
ibm-plex-powerline = pkgs.callPackage ./packages/ibm-plex-powerline.nix { };
2021-02-07 02:38:11 +03:00
bibata-cursors = pkgs.callPackage ./packages/bibata-cursors.nix { };
2021-04-02 21:50:33 +03:00
foliate = pkgs.callPackage ./packages/foliate.nix { };
vscode = master.vscode;
2021-09-07 09:50:47 +03:00
vscode-fhs = master.vscode-fhs;
2021-04-02 21:50:33 +03:00
vivaldi = master.vivaldi;
2021-09-15 15:33:45 +03:00
multimc = pkgs.qt5.callPackage ./packages/multimc.nix { multimc-repo = inputs.multimc-cracked; };
2021-06-14 23:31:09 +03:00
steam = super.steam.override {
extraLibraries = pkgs: with pkgs; [
pipewire
];
};
2021-06-29 22:27:50 +03:00
wine = super.wineWowPackages.staging;
2021-08-17 23:36:33 +03:00
qbittorrent = super.qbittorrent.overrideAttrs (stable: rec {
version = "enchanced-edition";
src = inputs.qbittorrent-ee;
2021-06-29 22:27:50 +03:00
});
2021-03-17 23:06:12 +03:00
rust-stable = pkgs.latest.rustChannels.stable.rust.override {
extensions = [
"rls-preview"
"clippy-preview"
"rustfmt-preview"
];
};
2021-09-07 09:50:47 +03:00
rust-nightly = pkgs.latest.rustChannels.nightly.rust.override {
extensions = [
"rls-preview"
"clippy-preview"
"rustfmt-preview"
];
};
2020-08-11 02:38:02 +04:00
# material-icons = pkgs.callPackage ./packages/material-icons-inline.nix { };
2021-08-17 23:36:33 +03:00
# wpgtk = super.wpgtk.overrideAttrs (stable: rec {
2020-09-26 03:33:55 +04:00
# propagatedBuildInputs = with pkgs; [
# python2 python27Packages.pygtk
# python3Packages.pygobject3 python3Packages.pillow python3Packages.pywal
# ];
# });
2020-02-05 04:30:49 +04:00
}
)
2019-08-27 23:41:02 +04:00
];
2020-02-05 04:30:49 +04:00
2020-08-04 01:46:48 +04:00
nixpkgs.config = {
allowUnfree = true;
2020-09-04 23:32:11 +04:00
android_sdk.accept_license = true;
2020-08-04 01:46:48 +04:00
};
2021-03-17 23:06:12 +03:00
2021-09-07 09:50:47 +03:00
home-manager.users.alukard = {
nixpkgs.config = {
allowUnfree = true;
};
xdg.configFile."nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
};
2020-02-15 03:15:10 +04:00
}