From ad5c906e4b0057675c003b72d9565e11dd5ab44c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 9 Oct 2024 21:00:23 +0400 Subject: [PATCH] nixfmt --- overlays/default.nix | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/overlays/default.nix b/overlays/default.nix index 7eefd3a1..512cd3d9 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,10 +1,8 @@ -{inputs, ...}: { +{ inputs, ... }: { # This one brings our custom packages from the 'pkgs' directory - additions = final: _prev: import ../packages {pkgs = final;}; + additions = final: _prev: import ../packages { pkgs = final; }; - nixpkgs.overlays = [ - inputs.emacs-overlay - ]; + nixpkgs.overlays = [ inputs.emacs-overlay ]; # This one contains whatever you want to overlay # You can change versions, add patches, set compilation flags, anything really. # https://nixos.wiki/wiki/Overlays @@ -12,35 +10,23 @@ # example = prev.example.overrideAttrs (oldAttrs: rec { # ... # }); - polybar = prev.polybar.override { - pulseSupport = true; - }; - qutebrowser = prev.qutebrowser.override { - enableWideVine = true; - }; - vimix-gtk-themes = prev.vimix-gtk-themes.override { - themeVariants = ["ruby"]; - }; + polybar = prev.polybar.override { pulseSupport = true; }; + qutebrowser = prev.qutebrowser.override { enableWideVine = true; }; + vimix-gtk-themes = + prev.vimix-gtk-themes.override { themeVariants = [ "ruby" ]; }; fluent-gtk-theme = prev.fluent-gtk-theme.override { colorVariants = [ "dark" ]; themeVariants = [ "red" ]; tweaks = [ "square" ]; }; - fluent-icon-theme = prev.fluent-icon-theme.override { - colorVariants = [ "red" ]; - }; - dwm = prev.dwm.overrideAttrs (old: { - src = ../config/dwm; - }); + fluent-icon-theme = + prev.fluent-icon-theme.override { colorVariants = [ "red" ]; }; + dwm = prev.dwm.overrideAttrs (old: { src = ../config/dwm; }); ags = prev.ags.overrideAttrs (old: { - buildInputs = old.buildInputs ++ [ inputs.nixpkgs.legacyPackages.x86_64-linux.libdbusmenu-gtk3 ]; + buildInputs = old.buildInputs + ++ [ inputs.nixpkgs.legacyPackages.x86_64-linux.libdbusmenu-gtk3 ]; }); - isync = prev.isync.overrideAttrs (old: { - withCyrusSaslXoauth2 = true; - }); - # blender = prev.blender.overrideAttrs (old: { - # nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ inputs.nixpkgs.legacyPackages.x86_64-linux.pkg-config inputs.nixpkgs.legacyPackages.x86_64-linux.wayland-scanner ]; - # }); + isync = prev.isync.overrideAttrs (old: { withCyrusSaslXoauth2 = true; }); }; # incase something breaks