about summary refs log tree commit diff
path: root/home/modules/profiles/research/default.nix
blob: 5741400955e2669804dd7437c70877ac70e96ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, lib, pkgs, ... }:
let cfg = config.profiles.research;
in
{
  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" ];
  };
}