feat(config): add userDirs & mimeApp modules
This commit is contained in:
parent
0db15b3748
commit
ed8bad82e2
5 changed files with 59 additions and 18 deletions
|
|
@ -6,9 +6,22 @@ in
|
|||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
xdg.userDirs = {
|
||||
xdg = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
configHome = "${config.home.homeDirectory}/.config";
|
||||
cacheHome = "${config.home.homeDirectory}/.cache";
|
||||
dataHome = "${config.home.homeDirectory}/.local/share";
|
||||
stateHome = "${config.home.homeDirectory}/.local/state";
|
||||
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/Desktop";
|
||||
documents = "${config.home.homeDirectory}/Documents";
|
||||
music = "${config.home.homeDirectory}/Media/Music";
|
||||
videos = "${config.home.homeDirectory}/Media/Videos";
|
||||
pictures = "${config.home.homeDirectory}/Media/Pictures";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue