move xdg.userDirs config to modules/shared/user

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-17 14:31:28 +03:00
parent f8d4b52394
commit b3ac24719a
4 changed files with 24 additions and 21 deletions

View File

@ -1,5 +1,4 @@
{
imports = [
./xdg-userdirs.nix
];
}

View File

@ -1,17 +0,0 @@
{config, ...}: let
inherit (config.home) homeDirectory;
home = f: "${homeDirectory}/${f}";
in {
xdg.userDirs = {
enable = true;
createDirectories = true;
templates = home "temps";
publicShare = home "pub";
desktop = home "desktop";
download = home "downloads";
documents = home "docs";
pictures = home "pics";
videos = home "vids";
music = home "music";
};
}

View File

@ -1,6 +1,6 @@
{
imports = [
./common
# ./common
./cosmic
./gnome
./hyprland