Remove qtbittorrent because of an RCE bug, prepare more for enable by module for server
This commit is contained in:
parent
bbd3d080b5
commit
bbf0696221
17 changed files with 29 additions and 38 deletions
24
modules/system/services/general/mpd/default.nix
Normal file
24
modules/system/services/general/mpd/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.system.desktop.enable {
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
user = "jimbo";
|
||||
group = "users";
|
||||
musicDirectory = "/home/jimbo/JimboNFS/Music/Synced";
|
||||
playlistDirectory = "/home/jimbo/JimboNFS/Music/Synced/Playlists";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Local Pipewire"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.services.mpd.environment = {
|
||||
XDG_RUNTIME_DIR = "/run/user/${toString config.users.users.jimbo.uid}";
|
||||
};
|
||||
|
||||
environment.persistence."/persist".directories = [ "/var/lib/mpd" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue