{ pkgs, ... }: { users.users.sea.packages = with pkgs; let wee-slack = weechat.override { configure = { ... }: { scripts = [ weechatScripts.wee-slack ]; }; }; in [ aerc amfora dante mu scrot senpai ueberzugpp zathura arandr audacious kid3 qsynth rxvt-unicode clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill gnome.adwaita-icon-theme libreoffice liferea nheko tor-browser-bundle-bin wee-slack networkmanagerapplet transmission-gtk python3Packages.argostranslate ]; fonts = { fontconfig.defaultFonts = { monospace = [ "Latin Modern Mono" ]; sansSerif = [ "Latin Modern Sans" ]; serif = [ "Latin Modern Roman" ]; }; packages = with pkgs; [ lmodern noto-fonts-cjk-sans noto-fonts-emoji ]; }; hardware.brillo.enable = true; i18n = { defaultLocale = "en_US.UTF-8"; inputMethod = { enabled = "ibus"; ibus.engines = with pkgs.ibus-engines; [ hangul table table-others ]; }; }; programs = { firefox = { enable = true; languagePacks = [ "en-US" "fr" "ko" "vi" ]; policies = { ExtensionSettings = builtins.mapAttrs (id: name: { default_area = "menupanel"; installation_mode = "normal_installed"; install_url = "https://addons.mozilla.org/firefox" + "/downloads/latest/${name}/latest.xpi"; }) { "{af37054b-3ace-46a2-ac59-709e4412bec6}" = "add-custom-search-engine"; "{84b9a1d4-531b-4549-a328-63adf0d8f957}" = "alful"; "FirefoxColor@mozilla.com" = "firefox-color"; "{d66c8515-1e0d-408f-82ee-2682f2362726}" = "iina-open-in-mpv"; "redirector@einaregilsson.com" = "redirector"; "{b5501fd1-7084-45c5-9aa6-567c2fcf5dc6}" = "ruffle_rs"; "{2e5ff8c8-32fe-46d0-9fc8-6b8986621f3c}" = "search_by_image"; "uBlock0@raymondhill.net" = "ublock-origin"; }; Handlers.scheme.mpv = { action = "useHelperApp"; ask = false; handlers = [ { name = "open-in-mpv"; path = "${pkgs.open-in-mpv}/bin/open-in-mpv"; } ]; }; Preferences = { browser.aboutConfig.showWarning = false; dom.webnotifications.enabled = false; extensions = let mozzarella = "https://gnuzilla.gnu.org/mozzarella"; in { getAddons = { link.url = mozzarella; search.browseURL = mozzarella + "/search.php?q=%TERMS%"; }; webservice.discoverURL = mozzarella; }; widget = { gtk.overlay-scrollbars.enabled = false; non-native-theme.scrollbar.style = 1; }; }; }; }; mepo.enable = true; nm-applet.enable = true; slock.enable = true; }; services = { autorandr.enable = true; libinput.enable = true; # touchpad pipewire = { enable = true; alsa.enable = true; jack.enable = true; pulse.enable = true; }; xserver = { videoDrivers = [ "intel" ]; deviceSection = '' Option "TearFree" "true" ''; enable = true; displayManager.sx.enable = true; windowManager.awesome.enable = true; xkb = { layout = "us"; options = "caps:ctrl_modifier,compose:menu"; }; }; }; users.users.sea.extraGroups = [ "video" ]; # for brillo }