about summary refs log tree commit diff
path: root/home/profiles/multimedia/default.nix
blob: 2159eb2659ea8b6fd4a1cf0b5233e55b37bde699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, lib, pkgs, ... }:
let cfg = config.profiles.multimedia;
in
{
  imports = [
    ../../modules/programs/nixpkgs
  ];

  options.profiles.multimedia = {
    enable = lib.mkEnableOption
      "A profile that enables the system to be used for consuming multimedia contents.";
  };

  config = lib.mkIf cfg.enable {
    home.packages = with pkgs; [ vlc playerctl cider ];
  };
}