dotfiles/modules/applications/media.nix

22 lines
440 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }: {
2022-04-29 02:43:50 +00:00
2022-12-21 21:18:03 +00:00
options = {
media = {
enable = lib.mkEnableOption {
description = "Enable media programs.";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.media.enable) {
home-manager.users.${config.user}.home.packages = with pkgs; [
2022-04-29 02:43:50 +00:00
mpv # Video viewer
sxiv # Image viewer
2022-05-08 19:30:05 +00:00
mupdf # PDF viewer
zathura # PDF viewer
2022-04-29 02:43:50 +00:00
];
};
}