From 89bbccb9db7a5a28e55fb79cd2e48c3e9c86f3f2 Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Mon, 4 Nov 2024 22:25:10 -0600 Subject: [PATCH] added user dirs to leyla home manager --- users/leyla/home.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/users/leyla/home.nix b/users/leyla/home.nix index 14f4e8b..342be5e 100644 --- a/users/leyla/home.nix +++ b/users/leyla/home.nix @@ -1,5 +1,4 @@ { - lib, pkgs, osConfig, ... @@ -37,6 +36,25 @@ # org.gradle.console=verbose # org.gradle.daemon.idletimeout=3600000 # ''; + ".config/user-dirs.dirs" = { + force = true; + text = '' + # This file is written by xdg-user-dirs-update + # If you want to change or add directories, just edit the line you're + # interested in. All local changes will be retained on the next run. + # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped + # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an + # absolute path. No other format is supported. + # + XDG_DESKTOP_DIR="$HOME/desktop" + XDG_DOWNLOAD_DIR="$HOME/downloads" + XDG_DOCUMENTS_DIR="$HOME/documents" + XDG_TEMPLATES_DIR="$HOME/documents/templates" + XDG_MUSIC_DIR="$HOME/documents/music" + XDG_PICTURES_DIR="$HOME/documents/photos" + XDG_VIDEOS_DIR="$HOME/documents/videos" + ''; + }; }; # Home Manager can also manage your environment variables through