mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-09 22:19:42 +00:00
Add firefox browser
This commit is contained in:
parent
cff3d5ab8b
commit
1c9261230e
|
@ -3,6 +3,7 @@ _: {
|
||||||
./chromium
|
./chromium
|
||||||
./mullvad
|
./mullvad
|
||||||
./schizofox
|
./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 = {
|
programs = {
|
||||||
browsers = {
|
browsers = {
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
|
firefox.enable = true;
|
||||||
mullvad-browser.enable = true;
|
mullvad-browser.enable = true;
|
||||||
schizofox.enable = true;
|
schizofox.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -21,6 +21,7 @@ in
|
||||||
|
|
||||||
browsers = {
|
browsers = {
|
||||||
chromium.enable = mkEnableOption "Chromium browser";
|
chromium.enable = mkEnableOption "Chromium browser";
|
||||||
|
firefox.enable = mkEnableOption "Firefox browser";
|
||||||
mullvad-browser.enable = mkEnableOption "Mullvad browser";
|
mullvad-browser.enable = mkEnableOption "Mullvad browser";
|
||||||
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue