configs, packages: add streamlink, mpv and a new config structure
This commit is contained in:
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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user