change xdg folders to flake variables

This commit is contained in:
2026-05-06 18:24:17 +02:00
parent 5675c7e388
commit 3f463c5dc7

View File

@@ -1,4 +1,4 @@
{ ... }:
{ userConfig, ... }:
let
browserFallback = [
@@ -52,12 +52,12 @@ in
enable = true;
createDirectories = true;
desktop = null;
documents = "$HOME/Dokumenty";
download = "$HOME/Pobrane";
documents = userConfig.pathConfig.documents;
download = userConfig.pathConfig.downloads;
music = null;
pictures = "$HOME/Obrazy";
videos = "$HOME/Video";
projects = "$HOME/Kodowanie";
pictures = userConfig.pathConfig.pictures;
videos = userConfig.pathConfig.video;
projects = userConfig.pathConfig.projects;
templates = null;
publicShare = null;
setSessionVariables = true;