amaan can't into kernel

do 400 pushups per cache miss idiot
This commit is contained in:
atagen 2026-04-27 16:09:39 +10:00
parent 848ed62c5d
commit 4921973b9a
34 changed files with 3240 additions and 605 deletions

View file

@ -1,9 +1,11 @@
{
pkgs,
config,
mkWrappers,
...
}:
let
inherit (mkWrappers pkgs) wrap;
ui = config.rice.roles config.rice.palette.hex;
zathuraConfigDir = pkgs.runCommand "zathura-config" { } ''
mkdir -p $out
@ -44,14 +46,10 @@ let
set index-active-bg "${ui.secondary}"
''} $out/zathurarc
'';
zathuraWrapped = pkgs.symlinkJoin {
zathuraWrapped = wrap {
name = "zathura";
paths = [ pkgs.zathura ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/zathura \
--add-flags "--config-dir=${zathuraConfigDir}"
'';
pkg = pkgs.zathura;
args = [ "--config-dir=${zathuraConfigDir}" ];
};
in
with pkgs;
@ -59,7 +57,7 @@ scope "apps" {
officeSuite = libreoffice;
mailClient = thunderbird;
noteTaking = obsidian;
ebookReader = foliate;
# ebookReader = foliate; # contains perl
pdfReader = zathuraWrapped;
calculator = mate-calc;
}