Add mpv to home manager
This commit is contained in:
parent
48792e9514
commit
07eac39788
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
home.stateVersion = "21.11";
|
home.stateVersion = "21.11";
|
||||||
|
|
||||||
imports = [ ./shell ./wayland ./xdg.nix ./password.nix ./email.nix ];
|
imports = [ ./shell ./wayland ./xdg.nix ./tools.nix ./email.nix ];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -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
21
home-manager/tools.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue