{ 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.packages = with pkgs; [ fira-code # monospace font ]; programs.foot = { enable = lib.mkDefault (config.desktop != null); settings = { bell = { notify = true; urgent = true; }; colors = { alpha = 0.7; }; cursor.blink = true; main = { font = "Fira Code:size=8"; dpi-aware = true; }; mouse.hide-when-typing = true; }; }; }; }