about summary refs log tree commit diff
path: root/home/profiles/research/default.nix
blob: 8acecfe7920d91a556fe9f9d9cd4636b57316af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ 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" ];
  };
}