Compare commits

...

3 commits

3 changed files with 36 additions and 1 deletions

View file

@ -52,6 +52,9 @@ telescope.setup {
live_grep = {
layout_config = { height = 0.7 },
},
buffers = {
sort_lastused = true,
},
resume = {
initial_mode = "normal",
},

View file

@ -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" ];

View file

@ -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;