Update flake.lock file dependencies
This commit is contained in:
parent
ed50cf8f1e
commit
ca9c039575
5 changed files with 23 additions and 60 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -192,8 +192,6 @@ in
|
|||
}
|
||||
];
|
||||
|
||||
fonts.names = [ "${theme.fonts.monospace.name}" ];
|
||||
|
||||
gaps = {
|
||||
smartBorders = "on";
|
||||
smartGaps = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue