punkfairie
9408679e81
Switch to nixfmt as when I was adding treesitter injected lang hints, Alejandra was not formatting those comments in a way I liked. Turns out I like the nixfmt style in general better.
30 lines
652 B
Nix
30 lines
652 B
Nix
{ config, ... }:
|
|
{
|
|
home.preferXdgDirectories = true;
|
|
|
|
xdg =
|
|
let
|
|
homeDir = config.home.homeDirectory;
|
|
in
|
|
{
|
|
enable = true;
|
|
|
|
cacheHome = "${homeDir}/.cache";
|
|
configHome = "${homeDir}/.config";
|
|
dataHome = "${homeDir}/.local/share";
|
|
stateHome = "${homeDir}/.local/state";
|
|
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
|
|
desktop = "${homeDir}/desktop";
|
|
documents = null;
|
|
download = "${homeDir}/downloads";
|
|
music = null;
|
|
pictures = "${homeDir}/pictures";
|
|
templates = null;
|
|
videos = "${homeDir}/videos";
|
|
};
|
|
};
|
|
}
|