Skip to content

Commit

Permalink
vesktop: replace home.file with xdg.configFile (#575)
Browse files Browse the repository at this point in the history
Reviewed-by: NAHO <[email protected]>
  • Loading branch information
danth authored Sep 26, 2024
1 parent 3190239 commit e3eb7fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/vesktop/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}

0 comments on commit e3eb7fd

Please sign in to comment.