Add media programs (mpd/mpc and mpv)
This commit is contained in:
parent
aa30dd712b
commit
189a13dbc5
18
flake.nix
18
flake.nix
|
@ -70,17 +70,17 @@
|
|||
[ ./services/sshd/default.nix ./services/syncthing/default.nix ];
|
||||
homeModules = [
|
||||
./home/accounts/service.nix
|
||||
./home/pass/service.nix
|
||||
./home/git/default.nix
|
||||
./home/ssh/default.nix
|
||||
./home/tui/default.nix
|
||||
./home/tmux/default.nix
|
||||
./home/hyprland/default.nix
|
||||
./home/alacritty/default.nix
|
||||
./home/firefox/default.nix
|
||||
./home/zathura/default.nix
|
||||
./home/emacs/server.nix
|
||||
./home/neovim/default.nix
|
||||
./home/firefox/default.nix
|
||||
./home/git/default.nix
|
||||
./home/hyprland/default.nix
|
||||
./home/media/default.nix
|
||||
./home/pass/service.nix
|
||||
./home/ssh/default.nix
|
||||
./home/tmux/default.nix
|
||||
./home/tui/default.nix
|
||||
./home/zathura/default.nix
|
||||
];
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
|
22
home/media/default.nix
Normal file
22
home/media/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ mpc ];
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
network.startWhenNeeded = true;
|
||||
};
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
mpris
|
||||
autoload
|
||||
thumbfast
|
||||
thumbnail
|
||||
visualizer
|
||||
sponsorblock
|
||||
quality-menu
|
||||
webtorrent-mpv-hook
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue