home: several changes

- add TEXMFHOME variable
- Include mutable_config to ssh config
- add package `kondo`
- mpd uses xdg music userdir
This commit is contained in:
Oystein Kristoffer Tveit 2022-11-11 21:23:25 +01:00
parent ec2dd35824
commit 9bc5d2e85d
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
4 changed files with 20 additions and 5 deletions

View File

@ -68,6 +68,10 @@ in {
'';
};
sessionVariables = {
TEXMFHOME = "$HOME/documents/texmf";
};
pointerCursor = mkIf graphics {
package = pkgs.capitaine-cursors;
name = "capitaine-cursors";
@ -99,7 +103,10 @@ in {
};
mpv.enable = mkIf graphics true;
obs-studio.enable = mkIf graphics true;
ssh.enable = true;
ssh = {
enable = true;
includes = [ "mutable_config" ];
};
skim = {
enable = true;
defaultCommand ="fd --type f";

View File

@ -38,6 +38,7 @@ in {
kepubify
keybase
keymapviz
kondo
lastpass-cli
lazydocker
libwebp

View File

@ -12,6 +12,15 @@
signByDefault = true;
};
delta = {
enable = true;
options = {
line-numbers = true;
side-by-side = true;
theme = "Monokai Extended Origin";
};
};
aliases = {
aliases = "!git config --get-regexp alias | sed -re 's/alias\\.(\\S*)\\s(.*)$/\\1 = \\2/g'";
uncommit = "reset --soft HEAD^";
@ -39,7 +48,6 @@
untrackedCache = true;
editor = "nvim";
pager = "less";
};
"color \"branch\"".upstream = "cyan";

View File

@ -2,8 +2,7 @@
{
services.mpd = rec {
enable = true;
musicDirectory = "${config.services.dropbox.path}/music/music";
# musicDirectory = "${config.home.homeDirectory}/music";
musicDirectory = config.xdg.userDirs.music;
playlistDirectory = "${musicDirectory}/playlists/MPD";
};
}