home-manager: added xdg userDirs

This commit is contained in:
Aly Raffauf 2024-04-02 23:00:13 -04:00
parent f48ada6814
commit af336197c4

View file

@ -10,4 +10,15 @@
allowUnfree = true;
};
};
xdg.userDirs = {
enable = true;
createDirectories = true;
documents = "${config.home.homeDirectory}/docs";
download = "${config.home.homeDirectory}/downloads";
music = "${config.home.homeDirectory}/music";
videos = "${config.home.homeDirectory}/vids";
pictures = "${config.home.homeDirectory}/pics";
extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; };
};
}