mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
Compare commits
3 commits
4932575819
...
acab4af809
| Author | SHA1 | Date | |
|---|---|---|---|
| acab4af809 | |||
| 4260ebfda0 | |||
| aed2fed5a9 |
3 changed files with 36 additions and 1 deletions
|
|
@ -52,6 +52,9 @@ telescope.setup {
|
||||||
live_grep = {
|
live_grep = {
|
||||||
layout_config = { height = 0.7 },
|
layout_config = { height = 0.7 },
|
||||||
},
|
},
|
||||||
|
buffers = {
|
||||||
|
sort_lastused = true,
|
||||||
|
},
|
||||||
resume = {
|
resume = {
|
||||||
initial_mode = "normal",
|
initial_mode = "normal",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
|
@ -15,6 +15,12 @@
|
||||||
"pcie_aspm=off"
|
"pcie_aspm=off"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.plymouth = {
|
||||||
|
enable = true;
|
||||||
|
themePackages = [ pkgs.plymouth-blahaj-theme ];
|
||||||
|
theme = "blahaj";
|
||||||
|
};
|
||||||
|
|
||||||
# Cross building
|
# 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
|
# 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" ];
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
lib,
|
lib,
|
||||||
}:
|
}:
|
||||||
|
|
@ -14,6 +15,31 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-p3wfR28DH6V8BHn9DT10d09Yq3mdbBecWwlR1CdDYUA=";
|
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
|
# Build takes no time
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
allowSubstitutes = false;
|
allowSubstitutes = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue