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; 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 = { services.xserver = {
enable = true; enable = true;
layout = "us"; layout = "us";
@ -84,7 +93,6 @@
steam-hardware.enable = true; steam-hardware.enable = true;
}; };
sound = { sound = {
enable = false; enable = false;
mediaKeys.enable = true; mediaKeys.enable = true;
@ -99,7 +107,6 @@
#jack.enable = true; #jack.enable = true;
}; };
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;

View file

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