configs, packages: add streamlink, mpv and a new config structure
This commit is contained in:
parent
76367d65a2
commit
70f30c679c
@ -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
|
||||
|
@ -28,6 +28,7 @@
|
||||
#firefox
|
||||
chromium
|
||||
thunderbird
|
||||
streamlink
|
||||
streamlink-twitch-gui-bin
|
||||
element-desktop
|
||||
intel-gpu-tools
|
||||
|
15
modules/programs/configs/default.nix
Normal file
15
modules/programs/configs/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
# Configs
|
||||
#
|
||||
# flake.nix
|
||||
# ├─ ./hosts
|
||||
# │ └─ home.nix
|
||||
# └─ ./modules
|
||||
# └─ ./programs
|
||||
# └─ default.nix *
|
||||
# └─ ...
|
||||
#
|
||||
|
||||
[
|
||||
./mpv.nix
|
||||
]
|
5
modules/programs/configs/mpv.conf
Normal file
5
modules/programs/configs/mpv.conf
Normal file
@ -0,0 +1,5 @@
|
||||
hwdec=vaapi
|
||||
vo=gpu
|
||||
hwdec-codecs=all
|
||||
gpu-context=wayland
|
||||
#profile=gpu-hq
|
24
modules/programs/configs/mpv.nix
Normal file
24
modules/programs/configs/mpv.nix
Normal 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
|
||||
'';
|
||||
}
|
@ -14,6 +14,7 @@
|
||||
./alacritty.nix
|
||||
./rofi.nix
|
||||
./firefox.nix
|
||||
./configs
|
||||
#./waybar.nix
|
||||
#./games.nix
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user