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

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

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
]