mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake.nix: create Firefox addons overlay
This commit is contained in:
parent
32d20ed2a3
commit
14af688215
17
flake.nix
17
flake.nix
@ -90,18 +90,7 @@
|
|||||||
inherit (import ./lib/extras/images.nix { inherit inputs; lib = lib'; }) mkHost mkHome mkImage listImagesWithSystems;
|
inherit (import ./lib/extras/images.nix { inherit inputs; lib = lib'; }) mkHost mkHome mkImage listImagesWithSystems;
|
||||||
|
|
||||||
# The order here is important(?).
|
# The order here is important(?).
|
||||||
overlays = [
|
overlays = lib'.attrValues self.overlays;
|
||||||
# My own set of Firefox addons. They're not included in the packages
|
|
||||||
# output since they'll be a pain in the ass to set up for others when
|
|
||||||
# this is also included. If I set this up to be easily included in
|
|
||||||
# others' flake, it'll have a potential conflict for NUR users
|
|
||||||
# (including myself) that also relies on rycee's NUR instance. Overall,
|
|
||||||
# it's a pain to setup so I'm not including this.
|
|
||||||
(final: prev: {
|
|
||||||
inherit (final.nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon;
|
|
||||||
firefox-addons = final.callPackage ./pkgs/firefox-addons { };
|
|
||||||
})
|
|
||||||
] ++ (lib'.attrValues self.overlays);
|
|
||||||
|
|
||||||
defaultSystem = "x86_64-linux";
|
defaultSystem = "x86_64-linux";
|
||||||
|
|
||||||
@ -415,6 +404,10 @@
|
|||||||
# In case somebody wants to use my stuff to be included in nixpkgs.
|
# In case somebody wants to use my stuff to be included in nixpkgs.
|
||||||
overlays = import ./overlays // {
|
overlays = import ./overlays // {
|
||||||
default = final: prev: import ./pkgs { pkgs = prev; };
|
default = final: prev: import ./pkgs { pkgs = prev; };
|
||||||
|
firefox-addons = final: prev: {
|
||||||
|
inherit (final.nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon;
|
||||||
|
firefox-addons = final.callPackage ./pkgs/firefox-addons { };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# My custom packages, available in here as well. Though, I mainly support
|
# My custom packages, available in here as well. Though, I mainly support
|
||||||
|
Loading…
Reference in New Issue
Block a user