forked from poz/niksos
add xdg home dirs
This commit is contained in:
parent
988e4d9875
commit
8aea5a7eb9
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
|||
{
|
||||
config,
|
||||
config',
|
||||
...
|
||||
}: let
|
||||
hmCfg = config.home-manager.users.${config'.username};
|
||||
|
||||
primary_browser = "firefox-schizo.desktop";
|
||||
secondary_browser = "firefox-unschizo.desktop";
|
||||
mail_client = "thunderbird.desktop";
|
||||
|
@ -12,10 +15,10 @@
|
|||
in {
|
||||
home-manager.users.${config'.username} = {
|
||||
xdg = {
|
||||
cacheHome = "~/.cache";
|
||||
configHome = "~/.config";
|
||||
dataHome = "~/.local/share";
|
||||
stateHome = "~/.local/state";
|
||||
cacheHome = "${hmCfg.home.homeDirectory}/.cache";
|
||||
configHome = "${hmCfg.home.homeDirectory}/.config";
|
||||
dataHome = "${hmCfg.home.homeDirectory}/.local/share";
|
||||
stateHome = "${hmCfg.home.homeDirectory}/.local/state";
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
|
|
Loading…
Reference in a new issue