diff --git a/.config/nvim/plugin/telescope.lua b/.config/nvim/plugin/telescope.lua index 5cf24d54..733066de 100644 --- a/.config/nvim/plugin/telescope.lua +++ b/.config/nvim/plugin/telescope.lua @@ -52,6 +52,9 @@ telescope.setup { live_grep = { layout_config = { height = 0.7 }, }, + buffers = { + sort_lastused = true, + }, resume = { initial_mode = "normal", }, diff --git a/nix/configurations/vanadium/nixos/misc.nix b/nix/configurations/vanadium/nixos/misc.nix index 0f757beb..5b6348c7 100644 --- a/nix/configurations/vanadium/nixos/misc.nix +++ b/nix/configurations/vanadium/nixos/misc.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { system.stateVersion = "24.11"; @@ -15,6 +15,12 @@ "pcie_aspm=off" ]; + boot.plymouth = { + enable = true; + themePackages = [ pkgs.plymouth-blahaj-theme ]; + theme = "blahaj"; + }; + # Cross building # https://discourse.nixos.org/t/how-do-i-get-my-aarch64-linux-machine-to-build-x86-64-linux-extra-platforms-doesnt-seem-to-work/38106/2?u=leana8959 boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; diff --git a/nix/packages/by-name/ai_blocklist/package.nix b/nix/packages/by-name/ai_blocklist/package.nix index d0b324e9..a5ade514 100644 --- a/nix/packages/by-name/ai_blocklist/package.nix +++ b/nix/packages/by-name/ai_blocklist/package.nix @@ -1,5 +1,6 @@ { fetchFromGitHub, + fetchpatch, stdenvNoCC, lib, }: @@ -14,6 +15,31 @@ stdenvNoCC.mkDerivation (finalAttrs: { hash = "sha256-p3wfR28DH6V8BHn9DT10d09Yq3mdbBecWwlR1CdDYUA="; }; + patches = + let + mkPRPatch = + { number, hash }: + fetchpatch { + name = "ai-blocklist-patch-PR${toString number}"; + url = "https://patch-diff.githubusercontent.com/raw/laylavish/uBlockOrigin-HUGE-AI-Blocklist/pull/${toString number}.patch"; + inherit hash; + }; + in + map mkPRPatch [ + { + number = 286; + hash = "sha256-ijkOCtHCmiSUTpVfGIumPijr8xscRDBTtu7XfTMRiXY="; + } + { + number = 300; + hash = "sha256-oso0e1+CM7hmglNZpFgaz51OU2Dhuuo7mXayTbva+vY="; + } + { + number = 324; + hash = "sha256-/FFPFZpIQSPE7XXeFEcmVv8g8wg5JFIgKoYUTthLg5A="; + } + ]; + # Build takes no time preferLocalBuild = true; allowSubstitutes = false;