split shell config, add yazi config and switch from mpdscribble to yams
This commit is contained in:
+26
-8
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.file."Music".source = config.lib.file.mkOutOfStoreSymlink "/media/music";
|
||||
|
||||
@@ -28,13 +28,31 @@
|
||||
'';
|
||||
};
|
||||
|
||||
services.mpdscribble = {
|
||||
enable = true;
|
||||
endpoints = {
|
||||
"last.fm" = {
|
||||
passwordFile = "/run/secrets/lastfm_password";
|
||||
username = "KeksNino";
|
||||
};
|
||||
# services.mpdscribble = {
|
||||
# enable = true;
|
||||
# endpoints = {
|
||||
# "last.fm" = {
|
||||
# passwordFile = "/run/secrets/lastfm_password";
|
||||
# username = "KeksNino";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
systemd.user.services.yams = {
|
||||
Unit = {
|
||||
Description = "yams";
|
||||
After = [
|
||||
"sops-nix.service"
|
||||
"mpd.service"
|
||||
];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
Environment = "NON_INTERACTIVE=1";
|
||||
ExecStart = "${pkgs.yams}/bin/.yams-wrapped -N";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user