diff options
Diffstat (limited to 'modules/browsers/firefox/default.nix')
-rw-r--r-- | modules/browsers/firefox/default.nix | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/modules/browsers/firefox/default.nix b/modules/browsers/firefox/default.nix deleted file mode 100644 index 61a5db0..0000000 --- a/modules/browsers/firefox/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - extraPrefs = lib.fileContents ./mozilla.cfg; - userChrome = lib.fileContents ./userChrome.css; - my-firefox = pkgs.firefox.override { - extraPrefs = extraPrefs; - }; - - inherit (lib) mkIf; - cfg = config.browsers; -in { - config = mkIf cfg.firefox { - default.browser = lib.mkDefault "firefox"; - - home-manager.users.${config.user} = { - programs.firefox = { - enable = true; - package = my-firefox; - - # import configuration - policies = import ./policies.nix; - - # create profile for me :3 - profiles.${config.user} = { - search = { - force = true; - default = "ddg"; - }; - - userChrome = userChrome; - }; - }; - }; - }; -} |