fix: disable xdg user dirs auto create

This commit is contained in:
2026-04-15 21:03:57 +02:00
parent 0e27b181ad
commit 9b9c580a7f
2 changed files with 11 additions and 3 deletions

View File

@@ -36,8 +36,10 @@
homeDirectory = "/home/${config.host.username}"; homeDirectory = "/home/${config.host.username}";
}; };
xdg.userDirs.createDirectories = false; xdg.userDirs = {
xdg.userDirs.download = "${config.home.homeDirectory}/dl"; enable = false;
createDirectories = false;
};
modules."3d".printing.enable = true; modules."3d".printing.enable = true;
ai-tools.opencode.enable = true; ai-tools.opencode.enable = true;

View File

@@ -46,7 +46,13 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
xdg.systemDirs.config = [ "/etc/xdg" ]; xdg = {
systemDirs.config = [ "/etc/xdg" ];
userDirs = {
createDirectories = false;
download = "${config.home.homeDirectory}/dl";
};
};
home = { home = {
stateVersion = "25.05"; stateVersion = "25.05";