about summary refs log tree commit diff
path: root/home/profiles/research/default.nix
blob: 0c57f06653ad7798b5f642b69754931b20e75916 (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" ];
  };
}