fixed yazi configuration not applying

This commit is contained in:
Nickiel12 2023-09-21 11:23:22 -07:00
parent 12eb601676
commit b5fe8d4923
2 changed files with 17 additions and 7 deletions

View file

@ -13,6 +13,15 @@
enableKwallet = true;
};
# Some programs look for session variables to store config files at
# (Looking at you home-manager yazi)
environment.sessionVariables = rec {
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
services.xserver = {
enable = true;
layout = "us";
@ -83,7 +92,6 @@
opentabletdriver.enable = true;
steam-hardware.enable = true;
};
sound = {
enable = false;
@ -99,7 +107,6 @@
#jack.enable = true;
};
# Enable CUPS to print documents.
services.printing.enable = true;

View file

@ -6,11 +6,14 @@
enable = true;
enableZshIntegration = true;
settings = {
sort_by = "natural";
sort_sensitive = false;
sort_dir_first = true;
show_hidden = true;
show_symlink = true;
manager = {
sort_by = "natural";
sort_sensitive = false;
sort_dir_first = true;
show_hidden = true;
show_symlink = true;
sort_reverse = false;
};
};
};