nixos-config/features/desktopish/light-terminal.nix
2021-04-09 16:48:42 -04:00

17 lines
397 B
Nix

{ config, pkgs, ... }:
let
# Suckless Terminal provides good performance. Just need to increase the
# fontsize on retina display.
myst = pkgs.writeScriptBin "myst"
''
#!${pkgs.runtimeShell}
# Use fc-list to lookup font names
exec ${pkgs.st}/bin/st -f "CascadiaCode:pixelsize=26" $*
'';
in
{
environment.systemPackages = with pkgs; [
myst
alacritty
];
}