refactor: some formatting

This commit is contained in:
oddlama 2023-09-21 13:34:44 +02:00
parent 7092a1d2ce
commit e65dac849a
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 19 additions and 19 deletions

View file

@ -31,14 +31,16 @@
</fontconfig> </fontconfig>
''; '';
defaultFonts = { defaultFonts = {
sansSerif = lib.mkBefore ["Segoe UI"];
monospace = ["FiraCode Nerd Font"];
emoji = ["Segoe UI Emoji" "Noto Fonts Emoji"]; emoji = ["Segoe UI Emoji" "Noto Fonts Emoji"];
monospace = ["FiraCode Nerd Font"];
sansSerif = lib.mkBefore ["Segoe UI"];
serif = ["Source Serif Pro"];
}; };
}; };
packages = with pkgs; [ packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];}) (nerdfonts.override {fonts = ["FiraCode" "FiraMono" "SourceCodePro" "JetBrainsMono"];})
dejavu_fonts
noto-fonts noto-fonts
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts-cjk-serif noto-fonts-cjk-serif

View file

@ -3,13 +3,11 @@
lib, lib,
... ...
}: { }: {
options = { options.home.uid = lib.mkOption {
home.uid = lib.mkOption {
type = lib.types.int; type = lib.types.int;
example = 1000; example = 1000;
description = "The user's uid."; description = "The user's uid.";
}; };
};
config = { config = {
assertions = [ assertions = [
{ {