mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
mauville: set default music directory to /mnt/Media/Music
This commit is contained in:
parent
51906b2743
commit
2d7878e9b8
|
@ -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"; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue