about summary refs log tree commit diff
path: root/home/profiles/research
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/research')
-rw-r--r--home/profiles/research/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/home/profiles/research/default.nix b/home/profiles/research/default.nix
new file mode 100644
index 0000000..0c57f06
--- /dev/null
+++ b/home/profiles/research/default.nix
@@ -0,0 +1,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" ];
+  };
+}