treewide: format using nixfmt
Signed-off-by: Bloxx12 <charlie@charlieroot.dev> Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
This commit is contained in:
parent
f4464732e3
commit
e641dfa114
113 changed files with 1545 additions and 1019 deletions
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: let
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
inherit (builtins) mapAttrs;
|
||||
|
||||
fancy-iosevka = pkgs.iosevka.override {
|
||||
|
@ -40,7 +41,8 @@
|
|||
};
|
||||
set = "Fancy";
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
# A (somewhat) sane list of fonts to be installed.
|
||||
fonts = {
|
||||
fontconfig = {
|
||||
|
@ -58,26 +60,26 @@ in {
|
|||
|
||||
# Set the defalt fonts. This was taken from raf,
|
||||
# many thanks.
|
||||
defaultFonts = let
|
||||
common = [
|
||||
"Iosevka Nerd Font"
|
||||
"Roboto Mono Nerd Font"
|
||||
"Fira Code Nerd Font"
|
||||
"Symbols Nerd Font"
|
||||
"Noto Color Emoji"
|
||||
"JetbrainsMono Nerd Font"
|
||||
];
|
||||
in
|
||||
defaultFonts =
|
||||
let
|
||||
common = [
|
||||
"Iosevka Nerd Font"
|
||||
"Roboto Mono Nerd Font"
|
||||
"Fira Code Nerd Font"
|
||||
"Symbols Nerd Font"
|
||||
"Noto Color Emoji"
|
||||
"JetbrainsMono Nerd Font"
|
||||
];
|
||||
in
|
||||
mapAttrs (_: fonts: fonts ++ common) {
|
||||
serif = ["Noto Serif"];
|
||||
sansSerif = ["Lexend"];
|
||||
emoji = ["Noto Color Emoji"];
|
||||
monospace = ["Iosevka Nerd Font"];
|
||||
serif = [ "Noto Serif" ];
|
||||
sansSerif = [ "Lexend" ];
|
||||
emoji = [ "Noto Color Emoji" ];
|
||||
monospace = [ "Iosevka Nerd Font" ];
|
||||
};
|
||||
};
|
||||
packages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
inherit (pkgs)
|
||||
material-icons
|
||||
material-design-icons
|
||||
lexend
|
||||
|
@ -88,8 +90,7 @@ in {
|
|||
corefonts
|
||||
font-awesome
|
||||
;
|
||||
inherit
|
||||
(pkgs.nerd-fonts)
|
||||
inherit (pkgs.nerd-fonts)
|
||||
iosevka
|
||||
jetbrains-mono
|
||||
comic-shanns-mono
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue