refactor(profiles/stretchly): use xdg.configFile

This commit is contained in:
Infinidoge 2021-10-25 09:46:16 -04:00
parent a92ade3b2d
commit 6642d88396

View file

@ -1,9 +1,6 @@
{ config, pkgs, ... }: {
home = {
packages = with pkgs; [ stretchly ];
file.stretchly_config = {
source = ./../infinidoge/config/stretchly.json;
target = "${config.xdg.configHome}/Stretchly/config.json";
};
};
home.packages = with pkgs; [ stretchly ];
xdg.configFile."Stretchly/config.json".source =
./../infinidoge/config/stretchly.json;
}