vesktop: replace home.file with xdg.configFile (#575)

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
Daniel Thwaites 2024-09-26 15:57:23 +01:00 committed by GitHub
parent 3190239337
commit e3eb7fdf8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
};
}