diff --git a/flake.nix b/flake.nix index 88c8cb4..ecffa1d 100755 --- a/flake.nix +++ b/flake.nix @@ -167,6 +167,11 @@ spicepkgs = inputs.spicetify.legacyPackages.${pkgs.system}; inherit inputs self; }; + nixpkgs.overlays = [ + (final: prev: { + zen-browser = inputs.zen-browser.packages.${pkgs.system}.default; + }) + ]; } ) ]; diff --git a/hm/modules/linux/programs/default.nix b/hm/modules/linux/programs/default.nix index 961a43f..280c715 100644 --- a/hm/modules/linux/programs/default.nix +++ b/hm/modules/linux/programs/default.nix @@ -85,11 +85,9 @@ in }; home.packages = lib.mkIf cfg.zen.enable [ - inputs.zen-browser.packages.${pkgs.system}.default + pkgs.zen-browser ]; - home.sessionVariables.DEFAULT_BROWSER = lib.mkIf cfg.zen.enable "${ - inputs.zen-browser.packages.${pkgs.system}.default - }/bin/zen"; + home.sessionVariables.DEFAULT_BROWSER = lib.mkIf cfg.zen.enable "${pkgs.zen-browser}/bin/zen"; }; }