split shell config, add yazi config and switch from mpdscribble to yams
This commit is contained in:
+29
-4
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
@@ -6,12 +6,37 @@
|
||||
|
||||
age.keyFile = "/home/user/.config/sops/age/keys.txt";
|
||||
|
||||
secrets."lastfm_password" = {
|
||||
owner = "user";
|
||||
secrets = {
|
||||
"lastfm_password" = {
|
||||
owner = "user";
|
||||
};
|
||||
"slskd_secrets" = {
|
||||
owner = "user";
|
||||
};
|
||||
lastfm_api_key = { };
|
||||
lastfm_api_secret = { };
|
||||
};
|
||||
|
||||
secrets."slskd_secrets" = {
|
||||
templates."yams.yaml" = {
|
||||
path = "/home/user/.config/yams/yams.yml";
|
||||
owner = "user";
|
||||
|
||||
content = ''
|
||||
allow_same_track_scrobble_in_a_row: false
|
||||
api_key: "${config.sops.placeholder.lastfm_api_key}"
|
||||
api_secret: "${config.sops.placeholder.lastfm_api_secret}"
|
||||
base_url: http://ws.audioscrobbler.com/2.0/
|
||||
disable_log: false
|
||||
mpd_host: /tmp/mpd_socket
|
||||
mpd_port: '6600'
|
||||
no_daemon: false
|
||||
real_time: true
|
||||
scrobble_min_time: 10
|
||||
scrobble_threshold: 30
|
||||
session_file: /home/user/.config/yams/.lastfm_session
|
||||
update_interval: 1
|
||||
watch_threshold: 5
|
||||
'';
|
||||
};
|
||||
|
||||
useSystemdActivation = true;
|
||||
|
||||
Reference in New Issue
Block a user