fix(xdg) dont create dirs
This commit is contained in:
parent
2ab886b3d4
commit
3f403a7de9
2 changed files with 8 additions and 14 deletions
|
|
@ -32,25 +32,19 @@
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
xdg.userDirs = lib.mkIf hostConfig.isLinux {
|
xdg.userDirs = lib.mkIf hostConfig.isLinux {
|
||||||
enable = true;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = false;
|
||||||
desktop = "${config.home.homeDirectory}/Desktop";
|
|
||||||
documents = "${config.home.homeDirectory}/Documents";
|
|
||||||
download = "${config.home.homeDirectory}/Downloads";
|
download = "${config.home.homeDirectory}/Downloads";
|
||||||
music = "${config.home.homeDirectory}/Music";
|
|
||||||
pictures = "${config.home.homeDirectory}/Pictures";
|
pictures = "${config.home.homeDirectory}/Pictures";
|
||||||
publicShare = "${config.home.homeDirectory}/Public";
|
# desktop = "${config.home.homeDirectory}/Desktop";
|
||||||
templates = "${config.home.homeDirectory}/Templates";
|
# documents = "${config.home.homeDirectory}/Documents";
|
||||||
videos = "${config.home.homeDirectory}/Videos";
|
# music = "${config.home.homeDirectory}/Music";
|
||||||
|
# publicShare = "${config.home.homeDirectory}/Public";
|
||||||
|
# templates = "${config.home.homeDirectory}/Templates";
|
||||||
|
# videos = "${config.home.homeDirectory}/Videos";
|
||||||
};
|
};
|
||||||
home.sessionVariables = lib.mkIf hostConfig.isLinux {
|
home.sessionVariables = lib.mkIf hostConfig.isLinux {
|
||||||
XDG_DESKTOP_DIR = config.xdg.userDirs.desktop;
|
|
||||||
XDG_DOCUMENTS_DIR = config.xdg.userDirs.documents;
|
|
||||||
XDG_DOWNLOAD_DIR = config.xdg.userDirs.download;
|
XDG_DOWNLOAD_DIR = config.xdg.userDirs.download;
|
||||||
XDG_MUSIC_DIR = config.xdg.userDirs.music;
|
|
||||||
XDG_PICTURES_DIR = config.xdg.userDirs.pictures;
|
XDG_PICTURES_DIR = config.xdg.userDirs.pictures;
|
||||||
XDG_PUBLICSHARE_DIR = config.xdg.userDirs.publicShare;
|
|
||||||
XDG_TEMPLATES_DIR = config.xdg.userDirs.templates;
|
|
||||||
XDG_VIDEOS_DIR = config.xdg.userDirs.videos;
|
|
||||||
};
|
};
|
||||||
targets.genericLinux.enable = hostConfig.isLinux && !hostConfig.isNixOS;
|
targets.genericLinux.enable = hostConfig.isLinux && !hostConfig.isNixOS;
|
||||||
news.display = "silent";
|
news.display = "silent";
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ in
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.default_session = {
|
settings.default_session = {
|
||||||
command = "${tuigreet} --time --asterisks --cmd ${loginShell} --theme 'border=dark-gray;text=white;prompt=blue;time=dark-gray;action=dark-gray;button=blue;container=black;input=white'";
|
command = "${tuigreet} --time --asterisks --cmd ${loginShell}";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue