structural-rework #1
3 changed files with 28 additions and 0 deletions
|
@ -12,6 +12,20 @@
|
|||
y = 5;
|
||||
};
|
||||
};
|
||||
font = {
|
||||
normal = {
|
||||
family = "${config.fontProfiles.monospace.family}";
|
||||
style = "Medium";
|
||||
};
|
||||
bold = {
|
||||
family = "${config.fontProfiles.monospace.family}";
|
||||
style = "Bold";
|
||||
};
|
||||
italic = {
|
||||
family = "${config.fontProfiles.monospace.family}";
|
||||
style = "MediumItalic";
|
||||
};
|
||||
};
|
||||
colors = with config.colorScheme.colors; {
|
||||
bright = {
|
||||
black = "0x${base00}";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./firefox.nix
|
||||
./alacritty.nix
|
||||
./font.nix
|
||||
./playerctl.nix
|
||||
];
|
||||
}
|
||||
|
|
13
home/features/desktop/common/font.nix
Normal file
13
home/features/desktop/common/font.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
fontProfiles = {
|
||||
enable = true;
|
||||
monospace = {
|
||||
family = "JetBrains Mono Nerd Font";
|
||||
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||
};
|
||||
regular = {
|
||||
family = "Fira Sans";
|
||||
package = pkgs.fira;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue