mauville: set default music directory to /mnt/Media/Music

This commit is contained in:
Aly Raffauf 2024-04-05 10:34:08 -04:00
parent 51906b2743
commit 2d7878e9b8
2 changed files with 11 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ {
imports = [ ./cliApps ./guiApps ./desktopEnv ./userServices ]; imports = [ ./cliApps ./guiApps ./desktopEnv ./userServices ];
@ -14,14 +14,14 @@
xdg.userDirs = { xdg.userDirs = {
enable = true; enable = true;
createDirectories = true; createDirectories = true;
desktop = "${config.home.homeDirectory}/dsktp"; desktop = lib.mkDefault "${config.home.homeDirectory}/dsktp";
documents = "${config.home.homeDirectory}/docs"; documents = lib.mkDefault "${config.home.homeDirectory}/docs";
download = "${config.home.homeDirectory}/dwnlds"; download = lib.mkDefault "${config.home.homeDirectory}/dwnlds";
music = "${config.home.homeDirectory}/music"; music = lib.mkDefault "${config.home.homeDirectory}/music";
videos = "${config.home.homeDirectory}/vids"; videos = lib.mkDefault "${config.home.homeDirectory}/vids";
pictures = "${config.home.homeDirectory}/pics"; pictures = lib.mkDefault "${config.home.homeDirectory}/pics";
publicShare = "${config.home.homeDirectory}/pub"; publicShare = lib.mkDefault "${config.home.homeDirectory}/pub";
templates = "${config.home.homeDirectory}/tmplts"; templates = lib.mkDefault "${config.home.homeDirectory}/tmplts";
extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; }; extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; };
}; };
} }

View file

@ -8,5 +8,7 @@
home.stateVersion = "23.11"; home.stateVersion = "23.11";
programs.home-manager.enable = true; programs.home-manager.enable = true;
xdg.userDirs.music = "/mnt/Media/Music";
}; };
} }