{ config, lib, pkgs, options, ... }: { imports = [ ./swayfx.nix ]; options.desktop = { windowManager = lib.mkOption { description = "Which window manager to use"; default = null; type = with lib.types; nullOr (enum [ ]); }; }; config = { home = { file."Pictures/blossoms.jpg" = { enable = (config.desktop.windowManager != null); source = ./blossoms.jpg; }; packages = with pkgs; [ fira-code # monospace font ]; }; programs = { foot = { enable = lib.mkDefault (config.desktop.windowManager != null); settings = { bell = { notify = true; urgent = true; }; colors = { alpha = 0.8; background = "191724"; foreground = "e0def4"; regular0 = "26233a"; regular1 = "eb6f92"; regular2 = "9ccfd8"; regular3 = "f6c177"; regular4 = "31748f"; regular5 = "c4a7e7"; regular6 = "ebbcba"; regular7 = "e0def4"; bright0 = "47435d"; bright1 = "ff98ba"; bright2 = "c5f9ff"; bright3 = "ffeb9e"; bright4 = "5b9ab7"; bright5 = "eed0ff"; bright6 = "ffe5e3"; bright7 = "fefcff"; flash = "f6c177"; cursor = "191724 e0def4"; }; cursor.blink = true; main = { font = "Fira Code:size=8"; dpi-aware = true; }; mouse.hide-when-typing = true; }; }; librewolf = { enable = lib.mkDefault (config.desktop.windowManager != null); profiles = { default = { }; noRFP = { id = 1; settings = { "privacy.resistFingerprinting" = false; "webgl.disabled" = false; }; }; }; settings = { "browser.uidensity" = 1; "sidebar.animation.enabled" = false; "sidebar.new-sidebar.has-used" = true; "sidebar.verticalTabs" = true; "sidebar.visibility" = "hide-sidebar"; }; }; }; }; }