xdg.nix: add xdg-utils to home.packages

This commit is contained in:
Charlie Root 2024-09-23 18:53:58 +02:00
commit 3288271c0e

View file

@ -1,4 +1,8 @@
{config, ...}: let {
config,
pkgs,
...
}: let
inherit (config.modules.other.system) username; inherit (config.modules.other.system) username;
hmCfg = config.home-manager.users.${username}; hmCfg = config.home-manager.users.${username};
@ -16,6 +20,7 @@ in {
}; };
home-manager.users.${username} = { home-manager.users.${username} = {
home.packages = [pkgs.xdg-utils];
xdg = { xdg = {
cacheHome = "${hmCfg.home.homeDirectory}/.cache"; cacheHome = "${hmCfg.home.homeDirectory}/.cache";
configHome = "${hmCfg.home.homeDirectory}/.config"; configHome = "${hmCfg.home.homeDirectory}/.config";