From 05dd85210e465caa44ef7254f2781b2d12ba2882 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 16 Oct 2022 23:49:18 +0200 Subject: Reformat files with alejandra --- system/settings/services/xserver.nix | 58 ++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 26 deletions(-) (limited to 'system/settings/services/xserver.nix') diff --git a/system/settings/services/xserver.nix b/system/settings/services/xserver.nix index c78693c1..7e2a7c49 100644 --- a/system/settings/services/xserver.nix +++ b/system/settings/services/xserver.nix @@ -1,7 +1,11 @@ -{ config, lib, pkgs, ... }: - -with lib; -{ services.xserver = { +{ + config, + lib, + pkgs, + ... +}: +with lib; { + services.xserver = { enable = true; enableCtrlAltBackspace = true; exportConfiguration = true; @@ -37,9 +41,9 @@ with lib; }; useEmbeddedBitmaps = !config.fonts.fontconfig.antialias; defaultFonts = { - monospace = [ "IBM Plex Mono" ]; - sansSerif = [ "Cantarell" ]; - serif = [ "Times New Roman" ]; + monospace = ["IBM Plex Mono"]; + sansSerif = ["Cantarell"]; + serif = ["Times New Roman"]; }; localConf = '' @@ -57,28 +61,30 @@ with lib; ''; }; - fonts = with pkgs; [ - gohufont - dina-font - terminus_font + fonts = with pkgs; + [ + gohufont + dina-font + terminus_font - corefonts + corefonts - emacs-all-the-icons-fonts - font-awesome_5 - xorg.fontmiscmisc - xorg.fontcursormisc - ] ++ lib.optionals config.fonts.fontconfig.antialias [ - cantarell-fonts + emacs-all-the-icons-fonts + font-awesome_5 + xorg.fontmiscmisc + xorg.fontcursormisc + ] + ++ lib.optionals config.fonts.fontconfig.antialias [ + cantarell-fonts - fira - fira-code - fira-mono - ibm-plex + fira + fira-code + fira-mono + ibm-plex - source-code-pro - source-sans-pro - source-serif-pro - ]; + source-code-pro + source-sans-pro + source-serif-pro + ]; }; } -- cgit 1.4.1