From 9d3338a0b979784675dd4f5dcb5436c40c8e306f Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 6 May 2023 14:56:06 -0500 Subject: [PATCH] Got my first overlay working! --- user/home.nix | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/user/home.nix b/user/home.nix index 5b80082..5ef7ebf 100644 --- a/user/home.nix +++ b/user/home.nix @@ -286,7 +286,7 @@ in # Compositor and Desktop Utils nitrogen - picom-jonaburg + picom alttab xwinwrap xorg.xcursorthemes @@ -308,8 +308,6 @@ in glfw-wayland swayidle swaylock - grim - slurp wlsunset wayshot wev @@ -363,6 +361,27 @@ in shellAliases = myAliases; }; + nixpkgs.overlays = [ + (self: super: + { + picom = super.picom.overrideAttrs (oldAttrs: rec { + version = "unstable-2021-10-23"; + src = super.fetchFromGitHub { + owner = "pijulius"; + repo = "picom"; + rev = "982bb43e5d4116f1a37a0bde01c9bda0b88705b9"; + sha256 = "sha256-YiuLScDV9UfgI1MiYRtjgRkJ0VuA1TExATA2nJSJMhM="; + }; + + meta = with builtins.lib; { + description = "A fork of picom featuring better animations"; + homepage = "https://github.com/pijulius/picom"; + }; + }); + } + ) + ]; + home.file.".librewolf/librewolf.overrides.cfg".text = '' pref("font.name.serif.x-western","Inconsolata"); pref("font.size.variable.x-western",20);