diff options
Diffstat (limited to 'home/modules/profiles/research')
-rw-r--r-- | home/modules/profiles/research/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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" ]; + }; +} |