From 11cbe51ab84f07ca9220677001b6b1bd878dd413 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 1 Feb 2026 13:41:24 -0800 Subject: [PATCH] picom: use absolute paths in @include directives The config files are symlinks to nix store, so relative paths don't resolve correctly. Try using ~/.config/picom paths. Co-Authored-By: Claude Opus 4.5 --- nixos/xmonad.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/xmonad.nix b/nixos/xmonad.nix index 594c7ba7..1f1a0cf7 100644 --- a/nixos/xmonad.nix +++ b/nixos/xmonad.nix @@ -208,11 +208,12 @@ makeEnable config "myModules.xmonad" true { # Wrapper config that includes both home-manager generated config and animations # This works around picom not supporting multiple --config flags + # Must use absolute paths since files are symlinks to nix store xdg.configFile."picom/picom-with-animations.conf".text = '' # Include home-manager generated base config - @include "picom.conf" + @include "~/.config/picom/picom.conf" # Include spring physics animations (uses () list syntax) - @include "animations.conf" + @include "~/.config/picom/animations.conf" ''; # Override picom service to use our wrapper config