configs, packages: add streamlink, mpv and a new config structure

This commit is contained in:
Kabbone 2022-11-03 16:51:58 +01:00
parent 76367d65a2
commit 70f30c679c
6 changed files with 49 additions and 1 deletions

View File

@ -34,10 +34,12 @@
pfetch # Minimal fetch
ranger # File Manager
gnupg # sign and authorize 2nd Fac
xdg-utils
# Video/Audio
#feh # Image Viewer
#mpv # Media Player
mpv # Media Player
#pavucontrol # Audio control
#stremio # Media Streamer
#libva-utils # vainfo

View File

@ -28,6 +28,7 @@
#firefox
chromium
thunderbird
streamlink
streamlink-twitch-gui-bin
element-desktop
intel-gpu-tools

View File

@ -0,0 +1,15 @@
#
# Configs
#
# flake.nix
# ├─ ./hosts
# │ └─ home.nix
# └─ ./modules
# └─ ./programs
# └─ default.nix *
# └─ ...
#
[
./mpv.nix
]

View File

@ -0,0 +1,5 @@
hwdec=vaapi
vo=gpu
hwdec-codecs=all
gpu-context=wayland
#profile=gpu-hq

View File

@ -0,0 +1,24 @@
#
# mpv NixOS & Home manager configuration
#
# flake.nix
# ├─ ./hosts
# │ └─ ./home.nix
# └─ ./modules
# └─ ./programs
# └─ ./configs
# └─ mpv.nix *
#
{ config, lib, pkgs, ... }:
{
home.file = {
".config/mpv/mpv.conf".text = ''
hwdec=vaapi
vo=gpu
hwdec-codecs=all
gpu-context=wayland
#profile=gpu-hq
'';
}

View File

@ -14,6 +14,7 @@
./alacritty.nix
./rofi.nix
./firefox.nix
./configs
#./waybar.nix
#./games.nix
]