From fef4a98fa827d0c31fd60f0381e5d7660aad5370 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 11 Aug 2023 01:01:03 +0300 Subject: [PATCH] what did i do here again --- modules/desktop/browsers/firefox/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/modules/desktop/browsers/firefox/default.nix b/modules/desktop/browsers/firefox/default.nix index 13e37525..436885f4 100644 --- a/modules/desktop/browsers/firefox/default.nix +++ b/modules/desktop/browsers/firefox/default.nix @@ -1,16 +1,20 @@ -{ options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.desktop.browsers.firefox; -in { + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.browsers.firefox; +in { options.modules.desktop.browsers.firefox = { enable = mkEnableOption false; }; # TODO add this # https://github.com/Dook97/firefox-qutebrowser-userchrome - + config = mkIf cfg.enable { programs.firefox = { enable = true;