From 3f463c5dc772521a5f3e2a49459d87112df2a7e5 Mon Sep 17 00:00:00 2001 From: Szymon P Date: Wed, 6 May 2026 18:24:17 +0200 Subject: [PATCH] change xdg folders to flake variables --- modules/xdg.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/xdg.nix b/modules/xdg.nix index 5610524..c05d8ba 100644 --- a/modules/xdg.nix +++ b/modules/xdg.nix @@ -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;