Add mpv support [untested]
This commit is contained in:
parent
f3ba0c3ab8
commit
3fad5809b9
2 changed files with 22 additions and 7 deletions
15
home.nix
15
home.nix
|
|
@ -16,27 +16,28 @@
|
||||||
./programs/nnn
|
./programs/nnn
|
||||||
./programs/rofi
|
./programs/rofi
|
||||||
./programs/nvim
|
./programs/nvim
|
||||||
|
./programs/mpv
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
eww-wayland # eww widgets
|
|
||||||
|
|
||||||
# Applications
|
# Applications
|
||||||
syncthing # For syncing files between computers
|
|
||||||
discord # Chat app
|
discord # Chat app
|
||||||
gimp # Photo editting
|
gimp # Photo editting
|
||||||
mpv # Video player
|
|
||||||
pamixer # Volume control
|
pamixer # Volume control
|
||||||
playerctl # Control media
|
playerctl # Control media
|
||||||
wget # Download web stuff
|
wget # Download web stuff
|
||||||
zathura # PDF viewer
|
|
||||||
feh # Image viewer
|
feh # Image viewer
|
||||||
sshfs # SSH File system
|
|
||||||
appimage-run # Lets you run app images
|
appimage-run # Lets you run app images
|
||||||
|
|
||||||
# Development stuff, can be removed
|
# Development stuff, can be removed
|
||||||
nodejs # For compiling JS stuff
|
nodejs # For compiling JS stuff
|
||||||
jq # May be critical for scripts?
|
jq # May be critical for scripts?
|
||||||
|
|
||||||
|
# Check if want settings?
|
||||||
|
zathura # PDF viewer
|
||||||
|
|
||||||
|
# Expand into other areas
|
||||||
|
sshfs # SSH File system (SSH)
|
||||||
|
eww-wayland # eww widgets (EWW)
|
||||||
];
|
];
|
||||||
# home.file = {};
|
# home.file = {};
|
||||||
|
|
||||||
|
|
|
||||||
14
programs/mpv/default.nix
Normal file
14
programs/mpv/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.mpv.enable = true;
|
||||||
|
programs.mpv.config = {
|
||||||
|
volume-max = 150;
|
||||||
|
force-window = "yes";
|
||||||
|
script-opts = "ytdl_hook-ytdl_path=yt-dlp";
|
||||||
|
ytdl-format = "bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best";
|
||||||
|
};
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
yt-dlp
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue