77 lines
3.1 KiB
Nix
77 lines
3.1 KiB
Nix
{ pkgs, config, lib, inputs, ... }:
|
|
let
|
|
inherit (pkgs) system;
|
|
stable = import inputs.nixpkgs-stable ({
|
|
config = config.nixpkgs.config;
|
|
localSystem = { inherit system; };
|
|
});
|
|
master = import inputs.nixpkgs-master ({
|
|
config = config.nixpkgs.config;
|
|
localSystem = { inherit system; };
|
|
});
|
|
custom = import inputs.nixpkgs-custom ({
|
|
config = config.nixpkgs.config;
|
|
localSystem = { inherit system; };
|
|
});
|
|
roundcube-plugins = import ./packages/roundcube-plugins/default.nix;
|
|
in
|
|
with lib; {
|
|
nixpkgs.overlays = [
|
|
# inputs.nixpkgs-wayland.overlay
|
|
inputs.nix-alien.overlay
|
|
inputs.nur.overlay
|
|
inputs.polymc.overlay
|
|
roundcube-plugins
|
|
(self: super:
|
|
rec {
|
|
inherit inputs;
|
|
|
|
android-emulator = self.callPackage ./packages/android-emulator.nix { };
|
|
arkenfox-userjs = pkgs.callPackage ./packages/arkenfox-userjs.nix { arkenfox-repo = inputs.arkenfox-userjs; };
|
|
bibata-cursors-tokyonight = pkgs.callPackage ./packages/bibata-cursors-tokyonight.nix { };
|
|
ceserver = pkgs.callPackage ./packages/ceserver.nix { };
|
|
gamescope = custom.gamescope;
|
|
hyprpaper = pkgs.callPackage ./packages/hyprpaper.nix { src = inputs.hyprpaper; };
|
|
ibm-plex-powerline = pkgs.callPackage ./packages/ibm-plex-powerline.nix { };
|
|
kitti3 = pkgs.python3Packages.callPackage ./packages/kitti3.nix { };
|
|
mpris-ctl = pkgs.callPackage ./packages/mpris-ctl.nix { };
|
|
multimc = pkgs.qt5.callPackage ./packages/multimc.nix { multimc-repo = inputs.multimc-cracked; };
|
|
parsec = pkgs.callPackage ./packages/parsec.nix { };
|
|
reshade-shaders = pkgs.callPackage ./packages/reshade-shaders.nix { };
|
|
seadrive-fuse = pkgs.callPackage ./packages/seadrive-fuse.nix { };
|
|
tidal-dl = pkgs.callPackage ./packages/tidal-dl.nix { };
|
|
tokyonight-gtk-theme = pkgs.callPackage ./packages/tokyonight-gtk-theme.nix { };
|
|
tokyonight-icon-theme = pkgs.callPackage ./packages/tokyonight-icon-theme.nix { };
|
|
vscode = master.vscode;
|
|
vscode-fhs = master.vscode-fhs;
|
|
xonar-fp = pkgs.callPackage ./packages/xonar-fp.nix { };
|
|
xray-core = pkgs.callPackage ./packages/xray-core.nix { };
|
|
youtube-to-mpv = pkgs.callPackage ./packages/youtube-to-mpv.nix { term = config.defaultApplications.term.cmd; };
|
|
vivaldi = master.vivaldi;
|
|
waybar = super.waybar.overrideAttrs (old: {
|
|
mesonFlags = old.mesonFlags ++ [
|
|
"-Dexperimental=true"
|
|
];
|
|
});
|
|
wine = super.wineWowPackages.staging;
|
|
# qbittorrent = super.qbittorrent.overrideAttrs (old: rec {
|
|
# version = "enchanced-edition";
|
|
# src = inputs.qbittorrent-ee;
|
|
# });
|
|
|
|
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;
|
|
}
|
|
)
|
|
];
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
android_sdk.accept_license = true;
|
|
};
|
|
}
|