From 1969493257f4644c3b105b3fc2c82a445a2ae664 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 5 May 2025 13:25:38 -0500 Subject: use xdg-userdirs functionality --- modules/home/initial-home-setup.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/home/initial-home-setup.nix') diff --git a/modules/home/initial-home-setup.nix b/modules/home/initial-home-setup.nix index 6aa6ac7..4132386 100644 --- a/modules/home/initial-home-setup.nix +++ b/modules/home/initial-home-setup.nix @@ -15,8 +15,8 @@ export PATH="$HOME/.local/bin/misc:$PATH" run mimewiz -i # already verbose ''; - createDirs = with userDetails.home; lib.hm.dag.entryAfter ["writeBoundary"] '' - run mkdir -p $VERBOSE_ARG "${downloads}" "${documents}" "${pictures}" + createDirs = lib.hm.dag.entryAfter ["writeBoundary"] '' + run mkdir -p $VERBOSE_ARG ${ lib.concatStringsSep " " (lib.attrValues userDetails.userDirs) } ''; }; } -- cgit v1.2.3