Desktop: add mpv
This commit is contained in:
parent
28a3bf2509
commit
cc11a5a386
2 changed files with 15 additions and 0 deletions
|
|
@ -9,5 +9,6 @@
|
|||
./git.nix
|
||||
./ssh.nix
|
||||
./appimage.nix
|
||||
./mpv.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
14
roles/desktop/programs/mpv.nix
Normal file
14
roles/desktop/programs/mpv.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
home-manager.users.toast = {
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
mpris
|
||||
];
|
||||
config = {
|
||||
hwdec = "auto";
|
||||
cache = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue