blob: 19542fa46bbd6afa0d2e3058f2edb2fdd2fb6fa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, pkgs, ... }:
let cfg = config.profiles.misc;
in
{
options.profiles.misc = {
enable = lib.mkEnableOption
"A profile that enables miscellaneous options and packages.";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ spotify ];
nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" ];
};
}
|