fix(nix): Fix firefox-darwin overlay is never actually applied

This commit is contained in:
Ahmad Ansori Palembani 2024-10-25 09:15:40 +07:00
parent f596ba43f5
commit d8ad75f69d
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
5 changed files with 10 additions and 9 deletions

View file

@ -3,7 +3,6 @@
let
mkCommon = import ../../lib/mkCommon.nix;
mkSystem = import ../../lib/mkSystem.nix;
pkgs.overlays = pkgs.overlays ++ [ inputs.firefox-darwin.overlay ];
in
{
# Host list
@ -14,7 +13,7 @@ in
# Lenovo ThinkPad L460; Intel Core i5-6300U
"ThiccBook-Pro" =
let
inherit (mkSystem "x86_64-darwin" nixpkgs) system pkgs;
inherit (mkSystem "x86_64-darwin" nixpkgs [inputs.firefox-darwin.overlay]) system pkgs;
common = (mkCommon pkgs);
in
nix-darwin.lib.darwinSystem {
@ -28,7 +27,7 @@ in
# Imaginary M1, just for reference
MacBookProM1 =
let
inherit (mkSystem "aarch64-darwin" nixpkgs) system pkgs;
inherit (mkSystem "aarch64-darwin" nixpkgs [inputs.firefox-darwin.overlay]) system pkgs;
common = (mkCommon pkgs);
in
nix-darwin.lib.darwinSystem {