2021-03-07 18:01:19 +01:00
|
|
|
{ config, ... }:
|
2021-02-21 20:30:21 +01:00
|
|
|
{
|
|
|
|
xdg = {
|
|
|
|
enable = true;
|
|
|
|
# File types
|
|
|
|
mime.enable = true;
|
|
|
|
# File associatons
|
|
|
|
mimeApps = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2021-02-21 20:32:54 +01:00
|
|
|
# User directories
|
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
# I want them lowercased
|
|
|
|
desktop = "\$HOME/desktop";
|
|
|
|
documents = "\$HOME/documents";
|
|
|
|
download = "\$HOME/downloads";
|
|
|
|
music = "\$HOME/music";
|
|
|
|
pictures = "\$HOME/pictures";
|
|
|
|
publicShare = "\$HOME/public";
|
|
|
|
templates = "\$HOME/templates";
|
|
|
|
videos = "\$HOME/videos";
|
|
|
|
};
|
2021-03-07 18:07:29 +01:00
|
|
|
# A tidy home is a tidy mind
|
|
|
|
dataFile = {
|
|
|
|
"bash/.keep".text = "";
|
|
|
|
"tig/.keep".text = "";
|
|
|
|
};
|
2021-02-21 20:30:21 +01:00
|
|
|
};
|
2021-03-07 18:01:19 +01:00
|
|
|
|
|
|
|
# I want a tidier home
|
|
|
|
home.sessionVariables = with config.xdg; {
|
|
|
|
HISTFILE = "${dataHome}/bash/history";
|
|
|
|
LESSHISTFILE = "${dataHome}/less/history";
|
|
|
|
LESSKEY = "${configHome}/less/lesskey";
|
|
|
|
};
|
2021-02-21 20:30:21 +01:00
|
|
|
}
|