{ config, lib, pkgs, ... }: let cfg = config.profiles.research; in { imports = [ ../../modules/programs/nixpkgs ]; options.profiles.research = { enable = lib.mkEnableOption "A profile that enables the system to be used for researching various topics."; }; config = lib.mkIf cfg.enable { home.packages = with pkgs; [ obsidian ]; nixpkgs.allowedUnfree = [ "obsidian" ]; }; }