Simplify something

This commit is contained in:
jimjam4real 2024-09-23 14:41:31 -04:00
parent b896a064f4
commit 3f0a235dc8
7 changed files with 4 additions and 11 deletions

19
extras/overlays.nix Normal file
View file

@ -0,0 +1,19 @@
# This file defines overlays
{inputs, ...}: {
# This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: import ./pkgs {pkgs = final;};
# This one contains whatever you want to overlay
selfsuper = (self: super: {
mpv = super.mpv.override {
scripts = with self.mpvScripts; [mpris sponsorblock thumbnail];
};
});
finalprev = (final: prev: {
unstable = import inputs.nixpkgs-unstable {
system = final.system;
config.allowUnfree = true;
};
});
}