Update flake.lock file dependencies

This commit is contained in:
Oliver Davies 2024-12-05 19:33:06 +00:00
parent ed50cf8f1e
commit ca9c039575
5 changed files with 23 additions and 60 deletions

View file

@ -1,12 +1,2 @@
{ pkgs, ... }:
{
fonts = {
monospace = {
name = "MesloLGSDZ Nerd Font Mono";
# fc-list : family | sort | grep "Nerd Font"
package = pkgs.nerdfonts.override { fonts = [ "Meslo" ]; };
size = "10";
};
};
}
# TODO Remove this file.
{ ... }: { }

View file

@ -1,16 +1,9 @@
{
config,
lib,
pkgs,
self,
...
}:
let
inherit (lib) strings;
inherit (strings) toInt;
theme = import "${self}/nix/lib/theme" { inherit pkgs; };
in
{
options.features.desktop.alacritty.enable = lib.mkEnableOption "Enable Alacritty";
@ -29,11 +22,10 @@ in
};
font = {
size = toInt "${theme.fonts.monospace.size}";
size = 14;
bold.style = "Regular";
normal.family = "${theme.fonts.monospace.name}";
normal.family = "JetBrainsMono Nerd Font Mono";
};
terminal.shell = {

View file

@ -4,33 +4,16 @@ let
theme = import ../../lib/theme { inherit pkgs; };
in
{
environment.systemPackages = with pkgs; [
terminus_font
terminus_font_ttf
];
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
monospace = [ theme.fonts.monospace.name ];
# monospace = [];
};
};
packages =
with pkgs;
[
(nerdfonts.override {
fonts = [
"AnonymousPro"
"FiraCode"
"GeistMono"
"IntelOneMono"
"Iosevka"
"JetBrainsMono"
];
})
]
++ [ theme.fonts.monospace.package ];
packages = with pkgs; [
nerd-fonts.jetbrains-mono
];
};
}

View file

@ -192,8 +192,6 @@ in
}
];
fonts.names = [ "${theme.fonts.monospace.name}" ];
gaps = {
smartBorders = "on";
smartGaps = true;