nix-config

My personal nixos and home-manager configuration
Log | Files | Refs | README

commit 9974f3d113980a10ecef7ffa0adaf91d4cea9fe6
parent 4959af2b6ac038cbb90583207085b5340f2daea4
Author: GuyClicking <bpaul848@gmail.com>
Date:   Sun, 25 Jul 2021 19:58:58 +1000

variable font size for alacritty

Diffstat:
Mhome/modules/terminal/alacritty.nix | 9++++-----
Mhome/profiles/arch.nix | 2+-
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/home/modules/terminal/alacritty.nix b/home/modules/terminal/alacritty.nix @@ -23,11 +23,10 @@ in }; fontSize = mkOption { - # Since it can be like 9.5 or something string - type = types.str; - default = "9"; - example = "9.5"; - description = "Font size as a string"; + type = types.int; + default = 9; + example = 10; + description = "Font size"; }; colours = { diff --git a/home/profiles/arch.nix b/home/profiles/arch.nix @@ -15,7 +15,7 @@ in alacritty = { enable = true; font = "Hack Nerd Font"; - fontSize = "10"; + fontSize = 10; }; programs.alacritty.package = pkgs.hello; c.enable = true;