mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Overlays] Move packages in more specific modules
This commit is contained in:
parent
3bb5deece0
commit
4902f855c9
3 changed files with 10 additions and 9 deletions
5
boot.nix
5
boot.nix
|
|
@ -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" ];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue