Skip to content

Commit

Permalink
Explicitly set programs.firefox.package in home-manager module
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvanstraten committed Nov 23, 2024
1 parent 12ff722 commit 1fb6c72
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions hosts/michaels-mbp-mozilla/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

home-manager.users.michael = import ./home.nix inputs;


environment.systemPackages = with pkgs; [
darwin.trash
git-cinnabar
Expand Down
2 changes: 1 addition & 1 deletion hosts/michaels-mbp-mozilla/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ in
};

programs = {
firefox.enable = true;
firefox.package = null;

home-manager.enable = true;

Expand Down
2 changes: 2 additions & 0 deletions hosts/michaels-mbp/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ in
};

programs = {
firefox.package = pkgs.firefox-bin;

sesh.enable = true;

thefuck.enable = true;
Expand Down
5 changes: 2 additions & 3 deletions modules/home-manager/Firefox.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{ BetterFox, ... }:
{ pkgs, ... }:
{
_: {
programs.firefox = {
enable = true;

# Let Firefox package be managed by the system
package = pkgs.firefox-bin;
package = null;

profiles.michael = {
settings = {
Expand Down

0 comments on commit 1fb6c72

Please sign in to comment.