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 { pointerCursor = mkIf graphics {
package = pkgs.capitaine-cursors; package = pkgs.capitaine-cursors;
name = "capitaine-cursors"; name = "capitaine-cursors";
@ -99,7 +103,10 @@ in {
}; };
mpv.enable = mkIf graphics true; mpv.enable = mkIf graphics true;
obs-studio.enable = mkIf graphics true; obs-studio.enable = mkIf graphics true;
ssh.enable = true; ssh = {
enable = true;
includes = [ "mutable_config" ];
};
skim = { skim = {
enable = true; enable = true;
defaultCommand ="fd --type f"; defaultCommand ="fd --type f";

View File

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

View File

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

View File

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