home: add firefox by default

This commit is contained in:
Aly Raffauf 2024-03-28 21:00:33 -04:00
parent 52e98f740c
commit 32394fc582
2 changed files with 14 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
};
};
}