aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/research
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-18 17:38:31 +0900
committersefidel <contact@sefidel.net>2022-01-18 17:38:31 +0900
commit7a372ed81256ce5d6aa608be9bebe173ab4e042e (patch)
tree29c7ee0a316ae0dc21ce3fe22342ec2c36ee0f4c /home/profiles/research
parent2bdc141bebd35cc38396271c42b23b6f89d032a0 (diff)
downloadnixrc-7a372ed81256ce5d6aa608be9bebe173ab4e042e.zip
project: rewrite
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" ];
+ };
+}