Move more things to xdg paths
This commit is contained in:
parent
04560dfbc5
commit
c41543edcf
23 changed files with 491 additions and 566 deletions
|
@ -1,17 +1,20 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
xdg.userDirs = {
|
||||
enable = config.home.desktop.enable;
|
||||
xdg.userDirs = with config.home; {
|
||||
enable = config.xdg.enable;
|
||||
createDirectories = true;
|
||||
|
||||
desktop = null;
|
||||
pictures = "${config.home.homeDirectory}/Photos";
|
||||
music = null;
|
||||
pictures = "${homeDirectory}/Photos";
|
||||
publicShare = null;
|
||||
templates = null;
|
||||
|
||||
extraConfig = {
|
||||
XDG_PERSIST_DIR = if !config.targets.genericLinux.enable then "/persist${config.home.homeDirectory}" else "${config.home.homeDirectory}/.stow";
|
||||
XDG_GAMES_DIR = "${homeDirectory}/Games";
|
||||
XDG_KEEPERS_DIR = "${homeDirectory}/Keepers";
|
||||
XDG_PERSIST_DIR = if !config.targets.genericLinux.enable then "/persist${homeDirectory}" else "${homeDirectory}/.stow";
|
||||
XDG_PROJECTS_DIR = "${homeDirectory}/Projects";
|
||||
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue