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:
parent
ec2dd35824
commit
9bc5d2e85d
|
@ -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";
|
||||
|
|
|
@ -38,6 +38,7 @@ in {
|
|||
kepubify
|
||||
keybase
|
||||
keymapviz
|
||||
kondo
|
||||
lastpass-cli
|
||||
lazydocker
|
||||
libwebp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue