From 04673e9175060c5b901daa65c76c4620767119c6 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 15 Oct 2021 10:20:33 -0400 Subject: [PATCH] move stretchly config from user to profile --- users/infinidoge/default.nix | 5 ----- users/profiles/stretchly.nix | 10 ++++++++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/users/infinidoge/default.nix b/users/infinidoge/default.nix index 926b16a..21c1be7 100644 --- a/users/infinidoge/default.nix +++ b/users/infinidoge/default.nix @@ -35,11 +35,6 @@ source = ./config/doom; target = "${config.xdg.configHome}/doom"; }; - - stretchly_config = { - source = ./config/stretchly.json; - target = "${config.xdg.configHome}/Stretchly/config.json"; - }; }; packages = with pkgs; [ diff --git a/users/profiles/stretchly.nix b/users/profiles/stretchly.nix index 59fd0d2..0db1f95 100644 --- a/users/profiles/stretchly.nix +++ b/users/profiles/stretchly.nix @@ -1,3 +1,9 @@ -{ pkgs, ... }: { - home.packages = with pkgs; [ stretchly ]; +{ config, pkgs, ... }: { + home = { + packages = with pkgs; [ stretchly ]; + file.stretchly_config = { + source = ./../infinidoge/config/stretchly.json; + target = "${config.xdg.configHome}/Stretchly/config.json"; + }; + }; }