foot: Make font size configurable
This commit is contained in:
parent
f56e6f5b9b
commit
88267a0897
2 changed files with 7 additions and 1 deletions
|
@ -12,6 +12,11 @@ in
|
||||||
options.eboskma.programs.foot = {
|
options.eboskma.programs.foot = {
|
||||||
enable = mkEnableOption "activate foot";
|
enable = mkEnableOption "activate foot";
|
||||||
server = mkEnableOption "enable foot server";
|
server = mkEnableOption "enable foot server";
|
||||||
|
fontSize = mkOption {
|
||||||
|
description = "font size";
|
||||||
|
type = types.int;
|
||||||
|
default = 12;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
@ -21,7 +26,7 @@ in
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
main = {
|
main = {
|
||||||
font = "Iosevka Nerd Font:size=16, Twitter Color Emoji:size=12";
|
font = "Iosevka Nerd Font:size=${toString cfg.fontSize}, Twitter Color Emoji:size=${toString cfg.fontSize}";
|
||||||
dpi-aware = "no";
|
dpi-aware = "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,7 @@ in
|
||||||
foot = {
|
foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
server = false;
|
server = false;
|
||||||
|
fontSize = 16;
|
||||||
};
|
};
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue