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 --- flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 36af18b..ffd028e 100644 --- a/flake.nix +++ b/flake.nix @@ -26,11 +26,11 @@ rec { username = "timmy"; email = "tjkeller.xyz"; fullname = "Tim Keller"; - home = with userDetails; with home; { - root = "/home/${username}"; - downloads = "${root}/dls"; - documents = "${root}/docs"; - pictures = "${root}/pics"; + home = "/home/${userDetails.username}"; + userDirs = with userDetails; { + download = "${home}/dls"; + documents = "${home}/docs"; + pictures = "${home}/pics"; }; }; homeStateVersion = "24.05"; # Lowest of systems is fine -- cgit v1.2.3