mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 06:54:35 +00:00
Add firefox browser
This commit is contained in:
parent
cff3d5ab8b
commit
1c9261230e
|
@ -3,6 +3,7 @@ _: {
|
|||
./chromium
|
||||
./mullvad
|
||||
./schizofox
|
||||
./firefox
|
||||
];
|
||||
}
|
||||
|
||||
|
|
17
home/programs/graphical/browsers/firefox/default.nix
Normal file
17
home/programs/graphical/browsers/firefox/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.browsers.firefox;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
# TODO: Finish this
|
||||
};
|
||||
};
|
||||
}
|
|
@ -97,6 +97,7 @@
|
|||
programs = {
|
||||
browsers = {
|
||||
chromium.enable = true;
|
||||
firefox.enable = true;
|
||||
mullvad-browser.enable = true;
|
||||
schizofox.enable = true;
|
||||
};
|
||||
|
|
|
@ -21,6 +21,7 @@ in
|
|||
|
||||
browsers = {
|
||||
chromium.enable = mkEnableOption "Chromium browser";
|
||||
firefox.enable = mkEnableOption "Firefox browser";
|
||||
mullvad-browser.enable = mkEnableOption "Mullvad browser";
|
||||
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue