mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 04:53:54 -05:00
home: add firefox by default
This commit is contained in:
parent
52e98f740c
commit
32394fc582
|
@ -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;
|
||||
}
|
||||
|
|
12
homeManagerModules/guiApps/firefox/default.nix
Normal file
12
homeManagerModules/guiApps/firefox/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue