From 32394fc5827d6d28ea52611c56343ecbfea5aa60 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 28 Mar 2024 21:00:33 -0400 Subject: [PATCH] home: add firefox by default --- homeManagerModules/guiApps/default.nix | 4 ++-- homeManagerModules/guiApps/firefox/default.nix | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 homeManagerModules/guiApps/firefox/default.nix diff --git a/homeManagerModules/guiApps/default.nix b/homeManagerModules/guiApps/default.nix index 56765228..dee5377d 100644 --- a/homeManagerModules/guiApps/default.nix +++ b/homeManagerModules/guiApps/default.nix @@ -1,8 +1,8 @@ { config, lib, pkgs, ... }: { - imports = [ ./alacritty ./fuzzel ./librewolf ./mako ./waybar ]; + imports = [ ./alacritty ./firefox ./fuzzel ./librewolf ./mako ./waybar ]; - guiApps.librewolf.enable = lib.mkDefault true; + guiApps.firefox.enable = lib.mkDefault true; guiApps.alacritty.enable = lib.mkDefault true; } diff --git a/homeManagerModules/guiApps/firefox/default.nix b/homeManagerModules/guiApps/firefox/default.nix new file mode 100644 index 00000000..e8effe67 --- /dev/null +++ b/homeManagerModules/guiApps/firefox/default.nix @@ -0,0 +1,12 @@ +{ pkgs, lib, config, ... }: { + + options = { + guiApps.firefox.enable = lib.mkEnableOption "Enables Firefox."; + }; + + config = lib.mkIf config.guiApps.firefox.enable { + programs.firefox = { + enable = true; + }; + }; +}