Compare commits
3
Commits
08c829a708
...
0d48663d81
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d48663d81 | ||
|
|
c56e020dec | ||
|
|
5af6c6242b |
@@ -66,6 +66,7 @@ in {
|
|||||||
group = service;
|
group = service;
|
||||||
# plugins = [
|
# plugins = [
|
||||||
# ];
|
# ];
|
||||||
|
environmentFile = "${cfg.data_dir}/navidrome.env";
|
||||||
settings = {
|
settings = {
|
||||||
Address = "0.0.0.0";
|
Address = "0.0.0.0";
|
||||||
Port = cfg.port;
|
Port = cfg.port;
|
||||||
@@ -77,9 +78,6 @@ in {
|
|||||||
#Folder = lib.mkForce "${cfg.data_dir}/plugins";
|
#Folder = lib.mkForce "${cfg.data_dir}/plugins";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environmentFile = {
|
|
||||||
ND_PLUGINS_FOLDER = "${cfg.data_dir}/plugins";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# override umask to make permissions work out
|
# override umask to make permissions work out
|
||||||
|
|||||||
@@ -104,6 +104,9 @@ in {
|
|||||||
# --- yt-dlp ---
|
# --- yt-dlp ---
|
||||||
yt-music = "noglob yt-dlp -f 'bestaudio/best' --extract-audio --audio-format opus --audio-quality 0 --embed-metadata --embed-thumbnail -o '%(playlist_index)02d - %(title)s.%(ext)s'";
|
yt-music = "noglob yt-dlp -f 'bestaudio/best' --extract-audio --audio-format opus --audio-quality 0 --embed-metadata --embed-thumbnail -o '%(playlist_index)02d - %(title)s.%(ext)s'";
|
||||||
|
|
||||||
|
# --- dumb shit ---
|
||||||
|
fix-music = "sudo find /holocron/media/music -type d -exec chmod 2770 {} + && sudo find /holocron/media/music -type f -exec chmod 660 {} +";
|
||||||
|
|
||||||
# --- systemd ---
|
# --- systemd ---
|
||||||
stat = "sudo systemctl status";
|
stat = "sudo systemctl status";
|
||||||
restart = "sudo systemctl restart";
|
restart = "sudo systemctl restart";
|
||||||
|
|||||||
Reference in New Issue
Block a user