Add mpv to home manager

This commit is contained in:
Kiana Sheibani 2024-05-11 19:19:22 -04:00
parent 48792e9514
commit 07eac39788
3 changed files with 22 additions and 9 deletions

View file

@ -5,7 +5,7 @@
home.stateVersion = "21.11";
imports = [ ./shell ./wayland ./xdg.nix ./password.nix ./email.nix ];
imports = [ ./shell ./wayland ./xdg.nix ./tools.nix ./email.nix ];
programs.git = {
enable = true;

View file

@ -1,8 +0,0 @@
{ pkgs, ... }:
{
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions
(exts: with exts; [ pass-update pass-file pass-otp ]);
};
}

21
home-manager/tools.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
# Password Store
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions
(exts: with exts; [ pass-update pass-file pass-otp ]);
};
# MPV
programs.mpv.enable = true;
programs.mpv.scripts = with pkgs.mpvScripts;
[ autoload mpris reload seekTo thumbnail quality-menu ];
programs.mpv.config = {
osc = false;
};
}