From 16545ae411aa886e94be0deaae79e07f39b9adfb Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 2 Feb 2024 08:51:02 -0800 Subject: install firefox The firefox packages for darwin are broken. `bandithedoge/nixpkgs-firefox-darwin` provides an overlay to install the package on darwin. Add some specific configurations to make firefox work as I want out of the box. We also add NUR to install some firefox extensions (ublock, 1password). --- flake/hosts.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'flake/hosts.nix') diff --git a/flake/hosts.nix b/flake/hosts.nix index 9ec9d1b..7fc0612 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -1,12 +1,21 @@ { inputs, ... }: let - inherit (inputs) nixpkgs darwin home-manager; + inherit (inputs) nixpkgs darwin home-manager firefox-darwin nur; inherit (nixpkgs.lib) mkMerge; mkDarwinConfig = system: path: darwin.lib.darwinSystem { inherit system; - modules = [ home-manager.darwinModule path ]; + modules = [ + home-manager.darwinModule + path + { + nixpkgs.overlays = [ + firefox-darwin.overlay + nur.overlay + ]; + } + ]; specialArgs = { inherit inputs; }; }; in -- cgit v1.2.3