From cc8094537663199f0e6a471f5959093f4e9daebe Mon Sep 17 00:00:00 2001 From: isabel Date: Wed, 10 Jun 2026 20:13:45 +0100 Subject: [PATCH] home/environment/xdg: use enable --- modules/home/environment/xdg.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home/environment/xdg.nix b/modules/home/environment/xdg.nix index 9e66b1ef..80e2b69e 100644 --- a/modules/home/environment/xdg.nix +++ b/modules/home/environment/xdg.nix @@ -6,7 +6,7 @@ ... }: let - inherit (lib.modules) mkIf mkForce; + inherit (lib.modules) mkForce; inherit (pkgs.stdenv.hostPlatform) isLinux; template = self.lib.template.xdg; @@ -90,8 +90,8 @@ in dataHome = "${config.home.homeDirectory}/.local/share"; stateHome = "${config.home.homeDirectory}/.local/state"; - userDirs = mkIf (isLinux && config.garden.profiles.workstation.enable) { - enable = true; + userDirs = { + enable = isLinux && config.garden.profiles.workstation.enable; createDirectories = true; setSessionVariables = true; -- 2.51.2