26 lines
		
	
	
	
		
			906 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			906 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  xdg = {
 | 
						|
    enable = 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";
 | 
						|
      extraConfig = {
 | 
						|
        XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
 | 
						|
        XDG_CODE_DIR = "${config.home.homeDirectory}/Code";
 | 
						|
        XDG_RECORDINGs_DIR = "${config.xdg.userDirs.videos}/Recordings";
 | 
						|
      };
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |