1
0
mirror of https://github.com/kmein/niveum synced 2026-03-21 12:21:08 +01:00

chore: get secrets via input, mock for CI

this fixes CI, yay!
This commit is contained in:
2023-06-27 17:57:42 +02:00
parent d0edb9c915
commit 3138fd23ef
32 changed files with 203 additions and 111 deletions

View File

@@ -1,4 +1,8 @@
{config, ...}: {
{
config,
inputs,
...
}: {
services.spotifyd = {
enable = true;
settings = {
@@ -21,8 +25,8 @@
};
age.secrets = {
spotify-username.file = ../../secrets/spotify-username.age;
spotify-password.file = ../../secrets/spotify-password.age;
spotify-username.file = inputs.secrets + "/spotify-username.age";
spotify-password.file = inputs.secrets + "/spotify-password.age";
};
# ref https://github.com/NixOS/nixpkgs/issues/71362#issuecomment-753461502