From 32e36c347236bb4755c64c70afb1f9e0457d2d55 Mon Sep 17 00:00:00 2001 From: Joonas Rautiola Date: Sun, 25 Aug 2024 13:12:57 +0300 Subject: [PATCH] Run nix fmt --- home-modules/common.nix | 3 +-- modules/desktop/fonts.nix | 7 +++---- modules/gaming.nix | 11 +++++++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/home-modules/common.nix b/home-modules/common.nix index 93e995d..3585704 100644 --- a/home-modules/common.nix +++ b/home-modules/common.nix @@ -1,5 +1,4 @@ -{ pkgs, ... }: -{ +{pkgs, ...}: { home.stateVersion = "23.11"; programs.home-manager.enable = true; nixpkgs.config.allowUnfree = true; diff --git a/modules/desktop/fonts.nix b/modules/desktop/fonts.nix index 2d0fda4..3bfc967 100644 --- a/modules/desktop/fonts.nix +++ b/modules/desktop/fonts.nix @@ -1,11 +1,10 @@ -{ pkgs, ... }: -{ +{pkgs, ...}: { fonts = { fontconfig = { enable = true; defaultFonts = { - emoji = [ "Twitter Color Emoji" ]; + emoji = ["Twitter Color Emoji"]; monospace = [ "Fira Code Nerd Font" "Sarasa Gothic" @@ -25,7 +24,7 @@ }; packages = with pkgs; [ - (nerdfonts.override { fonts = [ "FiraCode" ]; }) + (nerdfonts.override {fonts = ["FiraCode"];}) cantarell-fonts twitter-color-emoji sarasa-gothic diff --git a/modules/gaming.nix b/modules/gaming.nix index f2c3441..bd9f549 100644 --- a/modules/gaming.nix +++ b/modules/gaming.nix @@ -1,5 +1,8 @@ -{ pkgs, inputs, ... }: { + pkgs, + inputs, + ... +}: { imports = [ inputs.nix-gaming.nixosModules.platformOptimizations inputs.nix-gaming.nixosModules.pipewireLowLatency @@ -14,8 +17,8 @@ steam = { enable = true; platformOptimizations.enable = true; - extraCompatPackages = with pkgs; [ proton-ge-bin ]; - extraPackages = with pkgs; [ gamemode ]; + extraCompatPackages = with pkgs; [proton-ge-bin]; + extraPackages = with pkgs; [gamemode]; }; gamemode.enable = true; @@ -32,7 +35,7 @@ enable32Bit = true; # Add vulkan video encoding support - extraPackages = with pkgs; [ libva ]; + extraPackages = with pkgs; [libva]; }; # Xbox wireless controller driver