Add luminance and external monitor kernel modules

This commit is contained in:
Natsu Kagami 2024-12-12 01:49:42 +01:00
parent 56a8c33f9c
commit ea331093bb
Signed by: nki
GPG key ID: 55A032EB38B49ADB
5 changed files with 41 additions and 12 deletions

View file

@ -75,6 +75,14 @@ let
builtins.seq
(final.lib.assertMsg (prev.vikunja.version == "0.24.5") "Vikunja probably doesn't need custom versions anymore")
(final.callPackage ./packages/common/vikunja.nix { });
luminance = prev.luminance.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs ++ [ final.wrapGAppsHook ];
buildInputs = attrs.buildInputs ++ [ final.glib ];
postInstall = attrs.postInstall + ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
});
};
overlay-libs = final: prev: {
@ -125,3 +133,5 @@ in
# Bug fixes
] # we assign the overlay created before to the overlays of nixpkgs.