Move packages into overlays as God intended

This commit is contained in:
Jimbo 2024-10-13 02:53:39 -04:00
parent fa3890b814
commit a62148572b
11 changed files with 10 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { { pkgs, config, ... }: {
home.file = { home.file = {
"VMs" = { "VMs" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs"; source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";

View file

@ -2,7 +2,8 @@
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.blender-bin.overlays.default inputs.blender-bin.overlays.default
(final: _prev: import ./packages { pkgs = final; })
(import ./mpv) (import ./mpv)
(import ./unstable) #(import ./unstable { inherit inputs; })
]; ];
} }

View file

@ -1,5 +1,5 @@
{ ... }: { ... }:
(self: super: { self: super: {
mpv = super.mpv.override { mpv = super.mpv.override {
scripts = with self.mpvScripts; [ scripts = with self.mpvScripts; [
mpris mpris
@ -7,4 +7,4 @@
thumbnail thumbnail
]; ];
}; };
}) }

View file

@ -1,7 +1,7 @@
{ config, inputs, ... }: { inputs, ... }:
(final: prev: { final: prev: {
unstable = import inputs.nixpkgs-unstable { unstable = import inputs.unstable {
system = final.system; system = final.system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
}) }