diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-04-03 11:52:29 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-04-03 11:52:29 -0700 |
| commit | 68e5bf2438262eea9255f3396754e6225ec30e88 (patch) | |
| tree | dc34711eb75ea55811d89b37550a0fb6294b4d29 /users/fcuny/desktop/multimedia.nix | |
| parent | nas: add videos to the backups (diff) | |
| download | infra-68e5bf2438262eea9255f3396754e6225ec30e88.tar.gz | |
simplify multimedia for the desktop
I don't need to have systemd units to synchronize medias from a desktop
to the NAS: I'll download all the medias on the NAS directly.
I don't need to have a module for each type of media, there's not enough
configuration to justify that complexity.
I also don't need anymore mpd and co. as I'm using navidrome to host the
music on the NAS and sublime-music to listen to it on the desktop.
Diffstat (limited to 'users/fcuny/desktop/multimedia.nix')
| -rw-r--r-- | users/fcuny/desktop/multimedia.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/users/fcuny/desktop/multimedia.nix b/users/fcuny/desktop/multimedia.nix new file mode 100644 index 0000000..34347b8 --- /dev/null +++ b/users/fcuny/desktop/multimedia.nix @@ -0,0 +1,15 @@ +{ lib, config, pkgs, ... }: + +{ + home.packages = [ pkgs.pavucontrol pkgs.vlc pkgs.sublime-music ]; + programs.mpv = { + enable = true; + config = { + sub-auto = "fuzzy"; + vo = "gpu"; + hwdec = "auto-safe"; + gpu-context = "wayland"; + }; + scripts = lib.attrVals [ "sponsorblock" ] pkgs.mpvScripts; + }; +} |
