blob: bb4a8fd4a8926199e13f9870b3930dcc0ea86b0a (
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/nixpkgs.nix
];
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 spotify ];
nixpkgs.allowedUnfree = [ "spotify" ];
};
}
|