diff --git a/modules/vesktop/hm.nix b/modules/vesktop/hm.nix index 81241a73..6ffdb68f 100644 --- a/modules/vesktop/hm.nix +++ b/modules/vesktop/hm.nix @@ -9,8 +9,6 @@ in options.stylix.targets.vesktop.enable = config.lib.stylix.mkEnableTarget "Vesktop" true; config = lib.mkIf (config.stylix.enable && config.stylix.targets.vesktop.enable) { - home.file."${config.xdg.configHome}/vesktop/themes/stylix.theme.css" = { - source = themeFile; - }; + xdg.configFile."vesktop/themes/stylix.theme.css".source = themeFile; }; }