nixos-config/profiles/overlay.nix

79 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")
2021-09-28 01:47:42 +03:00
# (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
i3lock-fancy-rapid = pkgs.callPackage ./packages/i3lock-fancy-rapid.nix { };
xonar-fp = pkgs.callPackage ./packages/xonar-fp.nix { };
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-09-28 01:47:42 +03:00
multimc = pkgs.qt5.callPackage ./packages/multimc.nix { multimc-repo = inputs.multimc-cracked; };
ceserver = pkgs.callPackage ./packages/ceserver.nix { };
mpris-ctl = pkgs.callPackage ./packages/mpris-ctl.nix { };
2021-10-11 22:38:12 +03:00
tidal-dl = pkgs.callPackage ./packages/tidal-dl.nix { };
2021-10-24 23:13:51 +03:00
reshade-shaders = pkgs.callPackage ./packages/reshade-shaders.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-10-11 22:39:55 +03:00
# vivaldi = stable.vivaldi;
vivaldi = stable.vivaldi.overrideAttrs (old: rec {
postInstall = ''
substituteInPlace "$out"/bin/vivaldi \
--replace 'vivaldi-wrapped" "$@"' 'vivaldi-wrapped" --ignore-gpu-blocklist --enable-gpu-rasterization \
--enable-zero-copy --use-gl=desktop --enable-features=VaapiVideoDecoder --disable-features=UseOzonePlatform "$@"'
'';
});
2021-09-15 23:17:00 +03:00
nix-direnv = inputs.nix-direnv.defaultPackage.${system};
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-09-28 01:47:42 +03:00
# rust-stable = pkgs.latest.rustChannels.stable.rust.override {
# extensions = [
# "rls-preview"
# "clippy-preview"
# "rustfmt-preview"
# ];
# };
# rust-nightly = pkgs.latest.rustChannels.nightly.rust.override {
# extensions = [
# "rls-preview"
# "clippy-preview"
# "rustfmt-preview"
2020-09-26 03:33:55 +04:00
# ];
2021-09-28 01:47:42 +03:00
# };
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
}