home/natto: misc changes

update st config
update pkgs and stuff
misc updates to emacs and xmonad config

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-04 07:35:36 +05:30
parent 78a51754a4
commit b09e4cf2ea
8 changed files with 5254 additions and 44 deletions

View File

@@ -8,6 +8,7 @@
sessionVariables = {
LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
TERM = "st-24bits";
QT_QPA_PLATFORMTHEME = "gtk2";
};
file = with config; {
stalonetray = {
@@ -22,6 +23,14 @@
source = ./config/mpv/mpv.conf;
target = "${xdg.configHome}/mpv/mpv.conf";
};
packages = {
text = let
packages = builtins.map (p: "${p.name}") config.home.packages;
sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
formatted = builtins.concatStringsSep "\n" sortedUnique;
in formatted;
target = "${xdg.configHome}/${config.home.username}-packages";
};
};
};
}