nix/modules/wm/xdg/default.nix

20 lines
334 B
Nix
Raw Permalink Normal View History

2024-11-24 21:35:15 +01:00
{
config,
lib,
username,
...
}: {
options = {
xdg.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.xdg.enable {
home-manager.users.${username} = {
xdg.userDirs = {
enable = true;
download = "/home/${username}/dl";
desktop = "/home/${username}/dl";
};
};
};
}