blob: b423060acb8bcf714a0061dbcf8e6a389c502d3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ 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 spotify ];
nixpkgs.allowedUnfree = [ "spotify" ];
};
}
|