nixos-config/profiles/overlay.nix

76 lines
3.0 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
2022-01-29 00:41:41 +03:00
inherit (pkgs) system;
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; };
});
2022-07-02 19:30:20 +03:00
custom = import inputs.nixpkgs-custom ({
config = config.nixpkgs.config;
localSystem = { inherit system; };
});
2022-03-22 06:01:10 +03:00
roundcube-plugins = import ./packages/roundcube-plugins/default.nix;
2020-09-08 03:07:50 +04:00
in
2021-10-26 17:10:21 +03:00
with lib; {
2019-08-27 23:41:02 +04:00
nixpkgs.overlays = [
2022-04-22 02:14:31 +03:00
# inputs.nixpkgs-wayland.overlay
2022-01-29 00:41:41 +03:00
inputs.nix-alien.overlay
2022-04-22 02:15:29 +03:00
inputs.nur.overlay
2022-05-30 19:31:10 +03:00
inputs.polymc.overlay
2022-03-22 06:01:10 +03:00
roundcube-plugins
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
2021-11-05 21:45:23 +03:00
android-emulator = self.callPackage ./packages/android-emulator.nix { };
2022-04-22 02:15:29 +03:00
arkenfox-userjs = pkgs.callPackage ./packages/arkenfox-userjs.nix { arkenfox-repo = inputs.arkenfox-userjs; };
2022-07-07 22:46:27 +03:00
bibata-cursors-tokyonight = pkgs.callPackage ./packages/bibata-cursors-tokyonight.nix { };
2021-09-28 01:47:42 +03:00
ceserver = pkgs.callPackage ./packages/ceserver.nix { };
2022-08-05 21:10:22 +03:00
gamescope = custom.gamescope;
hyprpaper = pkgs.callPackage ./packages/hyprpaper.nix { src = inputs.hyprpaper; };
2021-11-05 21:45:23 +03:00
ibm-plex-powerline = pkgs.callPackage ./packages/ibm-plex-powerline.nix { };
2022-01-29 00:51:09 +03:00
kitti3 = pkgs.python3Packages.callPackage ./packages/kitti3.nix { };
2021-09-28 01:47:42 +03:00
mpris-ctl = pkgs.callPackage ./packages/mpris-ctl.nix { };
2022-07-06 00:14:26 +03:00
parsec = pkgs.callPackage ./packages/parsec.nix { };
2021-10-24 23:13:51 +03:00
reshade-shaders = pkgs.callPackage ./packages/reshade-shaders.nix { };
2022-04-22 02:16:24 +03:00
seadrive-fuse = pkgs.callPackage ./packages/seadrive-fuse.nix { };
2021-11-05 21:45:23 +03:00
tidal-dl = pkgs.callPackage ./packages/tidal-dl.nix { };
2022-07-06 00:14:26 +03:00
tokyonight-gtk-theme = pkgs.callPackage ./packages/tokyonight-gtk-theme.nix { };
2022-07-07 22:46:27 +03:00
tokyonight-icon-theme = pkgs.callPackage ./packages/tokyonight-icon-theme.nix { };
2021-04-02 21:50:33 +03:00
vscode = master.vscode;
2021-09-07 09:50:47 +03:00
vscode-fhs = master.vscode-fhs;
2021-11-05 21:45:23 +03:00
xonar-fp = pkgs.callPackage ./packages/xonar-fp.nix { };
2022-03-22 06:03:48 +03:00
xray-core = pkgs.callPackage ./packages/xray-core.nix { };
2021-11-05 21:45:23 +03:00
youtube-to-mpv = pkgs.callPackage ./packages/youtube-to-mpv.nix { term = config.defaultApplications.term.cmd; };
2022-02-11 14:07:03 +03:00
vivaldi = master.vivaldi;
2022-08-18 18:00:14 +03:00
waybar = super.waybar.overrideAttrs (old: {
mesonFlags = old.mesonFlags ++ [
"-Dexperimental=true"
];
});
2021-06-29 22:27:50 +03:00
wine = super.wineWowPackages.staging;
2022-04-22 02:14:31 +03:00
# qbittorrent = super.qbittorrent.overrideAttrs (old: rec {
# version = "enchanced-edition";
# src = inputs.qbittorrent-ee;
# });
2022-08-18 18:00:14 +03:00
nix = if !config.deviceSpecific.isServer then
inputs.nix.packages.${system}.default.overrideAttrs (oa: {
doInstallCheck = false;
patches = [ ./nix/nix.patch ] ++ oa.patches or [ ];
})
else pkgs.nixFlakes;
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
};
2020-02-15 03:15:10 +04:00
}