From 1bf8f5e3645e561da4feef950bd2f6dc5d649856 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 4 Jan 2022 14:52:57 +0900 Subject: home/modules: re-categorize profiles --- home/modules/profiles/research/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 home/modules/profiles/research/default.nix (limited to 'home/modules/profiles/research') diff --git a/home/modules/profiles/research/default.nix b/home/modules/profiles/research/default.nix new file mode 100644 index 0000000..5741400 --- /dev/null +++ b/home/modules/profiles/research/default.nix @@ -0,0 +1,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" ]; + }; +} -- cgit 1.4.1