[Overlays] Move packages in more specific modules

This commit is contained in:
Antoine Viallon 2023-05-18 00:40:26 +02:00
parent 3bb5deece0
commit 4902f855c9
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
3 changed files with 10 additions and 9 deletions

View file

@ -187,6 +187,11 @@ in {
};
nixpkgs.overlays = [(final: prev: {
# Use bleeding-edge linux firmware
linux-firmware = prev.unstable.linux-firmware;
})];
boot = {
initrd.kernelModules = [ ];
initrd.availableKernelModules = [ "ehci_pci" ];

View file

@ -44,6 +44,11 @@ in {
vdhcoapp
];
nixpkgs.overlays = [(final: prev: {
myFirefox = (final.callPackage ../packages/firefox.nix cfg.browser.firefox.overrides);
})];
aviallon.desktop.browser.firefox.overrides.extraNativeMessengingHosts = [
vdhcoapp
];

View file

@ -76,20 +76,11 @@ in
];
});
myFFmpeg = let
withUnfree = super.unstable.ffmpeg-full.override { withUnfree = true; };
withTensorflow = withUnfree.overrideAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ super.libtensorflow ];
configureFlags = (old.configureFlags or []) ++ [ "--enable-libtensorflow" ];
});
in withTensorflow;
amdctl = super.callPackage ./packages/amdctl.nix {};
# Use bleeding-edge linux firmware
linux-firmware = super.unstable.linux-firmware;
myFirefox = (super.callPackage ./packages/firefox.nix config.aviallon.desktop.browser.firefox.overrides);
})
(final: prev: {
# Use our kernel for generating linux man pages