From 6642d8839634fcdff4e355fcf9441d6989fb46ef Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 25 Oct 2021 09:46:16 -0400 Subject: [PATCH] refactor(profiles/stretchly): use xdg.configFile --- users/profiles/stretchly.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/users/profiles/stretchly.nix b/users/profiles/stretchly.nix index 0db1f95..fcdb08a 100644 --- a/users/profiles/stretchly.nix +++ b/users/profiles/stretchly.nix @@ -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; }