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 = {
"VMs" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";

View file

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

View file

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

View file

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