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.userDirs = lib.mkIf hostConfig.isLinux {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/Desktop";
|
||||
documents = "${config.home.homeDirectory}/Documents";
|
||||
createDirectories = false;
|
||||
download = "${config.home.homeDirectory}/Downloads";
|
||||
music = "${config.home.homeDirectory}/Music";
|
||||
pictures = "${config.home.homeDirectory}/Pictures";
|
||||
publicShare = "${config.home.homeDirectory}/Public";
|
||||
templates = "${config.home.homeDirectory}/Templates";
|
||||
videos = "${config.home.homeDirectory}/Videos";
|
||||
# desktop = "${config.home.homeDirectory}/Desktop";
|
||||
# documents = "${config.home.homeDirectory}/Documents";
|
||||
# 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 {
|
||||
XDG_DESKTOP_DIR = config.xdg.userDirs.desktop;
|
||||
XDG_DOCUMENTS_DIR = config.xdg.userDirs.documents;
|
||||
XDG_DOWNLOAD_DIR = config.xdg.userDirs.download;
|
||||
XDG_MUSIC_DIR = config.xdg.userDirs.music;
|
||||
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;
|
||||
news.display = "silent";
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ in
|
|||
services.greetd = {
|
||||
enable = true;
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue