Skip to content

Commit

Permalink
home-assistant: don't copy entire repo, only the required file
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Feb 15, 2024
1 parent 4c107d5 commit ac0657e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/home-assistant.nix
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ in
# recreate symlinks for desired blueprints
'' + lib.concatMapStringsSep "\n" (blueprint: ''
ln -fns "${blueprint}/${blueprint.passthru.path}" "${cfg.configDir}/blueprints/${blueprint.passthru.domain}/${blueprint.passthru.author}/"
ln -fns "${pkgs.copyPathToStore "${blueprint}/${blueprint.passthru.path}"}" "${cfg.configDir}/blueprints/${blueprint.passthru.domain}/${blueprint.passthru.author}/"
'') cfg.blueprints;
};

Expand Down

0 comments on commit ac0657e

Please sign in to comment.