mpd (no sound yet)
This commit is contained in:
parent
128cab7e41
commit
a1a0433279
3 changed files with 13 additions and 0 deletions
|
|
@ -60,6 +60,7 @@
|
||||||
./nixos/services/forgejo.nix
|
./nixos/services/forgejo.nix
|
||||||
./nixos/services/vaultwarden.nix
|
./nixos/services/vaultwarden.nix
|
||||||
./nixos/services/jellyfin.nix
|
./nixos/services/jellyfin.nix
|
||||||
|
./nixos/services/mpd.nix
|
||||||
] [];
|
] [];
|
||||||
|
|
||||||
vm-sway =
|
vm-sway =
|
||||||
|
|
|
||||||
|
|
@ -188,4 +188,8 @@ in {
|
||||||
domains = ["tlbean"];
|
domains = ["tlbean"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.mpd = {
|
||||||
|
musicDirectory = "/mnt/storage/media/Music";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
8
nixos/services/mpd.nix
Normal file
8
nixos/services/mpd.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{config,...}:
|
||||||
|
{
|
||||||
|
services.mpd = {
|
||||||
|
enable = true;
|
||||||
|
network.listenAddress = "0.0.0.0";
|
||||||
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [config.services.mpd.network.port];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue