{ 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 zoom-us obsidian ]; nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" "zoom" "obsidian" ]; }; }