mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
Enabled matrix, provided new tmux config, enabled a few plugins for doom emacs, added arc-nixexprs and matrix packages from that. Added backlight and battery monitors to my waybar config. Added kat to video group so backlight control is possible.
31 lines
974 B
Nix
31 lines
974 B
Nix
{ config ? { }, system ? builtins.currentSystem, ... }@args:
|
|
|
|
let
|
|
sources = import ../nix/sources.nix;
|
|
pkgs = import sources.nixpkgs args;
|
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
|
|
|
newpkgs = {
|
|
dino = callPackage "${sources.qyliss-nixlib}/overlays/patches/dino" {
|
|
inherit (pkgs) dino;
|
|
};
|
|
|
|
matrix-appservice-irc = callPackage "${sources.arc-nixexprs}/pkgs/public/matrix" {};
|
|
mx-puppet-discord = callPackage "${sources.arc-nixexprs}/pkgs/public/mx-puppet-discord" {};
|
|
|
|
discord = pkgs.discord.override { nss = pkgs.nss_latest; };
|
|
|
|
linuxPackagesFor = kernel:
|
|
(pkgs.linuxPackagesFor kernel).extend (_: ksuper: {
|
|
vendor-reset =
|
|
(callPackage ./vendor-reset { kernel = ksuper.kernel; }).out;
|
|
});
|
|
|
|
colorhelpers = import ../lib/colorhelpers.nix { inherit (pkgs) lib; };
|
|
|
|
inherit callPackage;
|
|
appendOverlays = overlays: (pkgs.appendOverlays overlays) // newpkgs;
|
|
};
|
|
|
|
in pkgs // newpkgs
|