1c15c55605
The tmux statusline draws powerline/Nerd glyphs that default fonts lack, so they render as blank/"?". tmux runs on every host (not just the Sway ones), so install the font in the shared common-nixos module rather than swaywm -- a future console-only or non-Sway host gets it too. The Mac installs it via the Darwin config (/Library/Fonts). foot names it as its main font (home/sway.nix). On macOS, iTerm2's font is still a GUI setting: Settings -> Profiles -> Text -> Font -> "JetBrainsMono Nerd Font". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
867 B
Nix
22 lines
867 B
Nix
# Options shared by every NixOS host (laptops and the WSL box). Imported via
|
|
# baseModules in flake.nix. Host- and platform-specific settings stay in the
|
|
# per-machine configs; laptop-only settings live in ./laptop.nix.
|
|
{ pkgs, ... }:
|
|
{
|
|
time.timeZone = "Europe/London";
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
|
|
# Minimal system-level CLI available before the home-manager profile loads
|
|
# (e.g. early boot / rescue). User-level tooling lives in home-manager.
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
fastfetch
|
|
];
|
|
|
|
# Terminal font with powerline/Nerd glyphs. Installed on every host because
|
|
# the tmux statusline (which uses these glyphs) runs everywhere, not just on
|
|
# the Sway/graphical hosts. foot names it explicitly (home/sway.nix); the Mac
|
|
# installs it via the Darwin config.
|
|
fonts.packages = [ pkgs.nerd-fonts.jetbrains-mono ];
|
|
}
|