{ config, lib, ... }: let cfg = config.sils.home.firefox; in { options.sils.home.firefox = { enable = lib.mkEnableOption "opinionated firefox configuration"; }; config = lib.mkIf cfg.enable { programs.firefox = { enable = true; profiles = { "default" = { containers = { banking = { color = "green"; icon = "dollar"; id = 0; }; }; id = 0; isDefault = true; name = "default"; search = { default = "DuckDuckGo"; privateDefault = "DuckDuckGo"; force = true; }; }; }; }; }; }