Files
dotfiles/home/natto/stuff.nix
Amneesh Singh b09e4cf2ea 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>
2022-12-04 07:37:15 +05:30

37 lines
1.0 KiB
Nix

{ config, lib, pkgs, ... }: {
xdg = {
enable = true;
userDirs.enable = true;
};
home = {
sessionVariables = {
LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
TERM = "st-24bits";
QT_QPA_PLATFORMTHEME = "gtk2";
};
file = with config; {
stalonetray = {
source = ./config/stalonetrayrc;
target = "${home.homeDirectory}/.stalonetrayrc";
};
ncmpcpp = {
source = ./config/ncmpcpp/config;
target = "${xdg.configHome}/ncmpcpp/config";
};
mpv = {
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";
};
};
};
}