home/natto: move around stuff

move git and zsh from hosts/satori and split services.nix

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-24 11:36:04 +05:30
parent 950cf357d1
commit 5fef417fb0
18 changed files with 196 additions and 159 deletions

View File

@@ -4,11 +4,11 @@
userDirs.enable = true;
};
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
home = {
sessionVariables = {
LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
TERM = "st-24bits";
QT_QPA_PLATFORMTHEME = "gtk2";
QT_X11_NO_MITSHM = "1";
HM_CONF_DIR = "/etc/nixos";
};
@@ -24,24 +24,10 @@
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";
};
};
};
i18n = {