-
-
Save matthew-piziak/7a17d1d38c300087b4b3770f1154cc87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
imports = [ ./plex-mpv-shim.nix ]; | |
environment.systemPackages = (with pkgs; [ | |
plex-media-player # Plex client | |
unstable.plex-mpv-shim # Play Plex videos with MPV | |
]); | |
services = { | |
plex.enable = true; # Plex server | |
plex-mpv-shim = { | |
enable = true; # Plex MPV Shim service | |
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/systemd-unit-options.nix#L63 | |
wantedBy = [ "multi-user.target" ]; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment