Use git-crypt for Soundcloud API key

This commit is contained in:
2021-08-09 23:15:57 +01:00
parent 0aa1724bba
commit 38a2fd5eab
7 changed files with 8 additions and 17 deletions

View File

@@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }:
{
let soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
in {
# Configure pipewire as sound server
services.pipewire = {
enable = true;
@@ -64,7 +66,7 @@
[soundcloud]
enabled = true
auth_token = ${config.age.secrets.soundcloud_api_key.path}
auth_token = ${soundcloud_token}
explore_songs = 100
[m3u]

View File

@@ -17,6 +17,7 @@ in {
passff-host
gitAndTools.pass-git-helper
inputs.agenix.defaultPackage.x86_64-linux
git-crypt
# Browsers
firefox
ungoogled-chromium