This commit is contained in:
2023-02-24 16:27:35 -05:00
parent 34f6e9a617
commit b7a869f4cb
2 changed files with 8 additions and 8 deletions

View File

@@ -3,18 +3,19 @@
{
options.mymods.beets.enable = lib.mkEnableOption "Beets music manager";
config = lib.mkIf config.mymods.beets.enable {
# sops.secrets.example_key = { };
home-manager.users."sstent" = {
# xdg.configFile."beets/discogs_token.test".source = "/run/secrets/discogs_json";
# xdg.configFile."beets/discogs_token.test".source = config.sops.secrets.discogs_json.path;
# xdg.configFile."beets/discogs_token.test".source = config.lib.file.mkOutOfStoreSymlink "${config.sops.secrets.discogs_json.path}";
# xdg.configFile."beets/discogs_token.test".source = config.lib.file.mkOutOfStoreSymlink "${config.sops.secrets.discogs_json.path}";
home.activation = {
beets = lib.hm.dag.entryAfter ["writeBoundary"] ''
set -x
echo "running activation script ..."
ln -s /run/secrets/discogs_json ~/.config/beets/23
'';
};
programs.beets = {
enable = true;
settings = {