From 7a372ed81256ce5d6aa608be9bebe173ab4e042e Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 18 Jan 2022 17:38:31 +0900 Subject: project: rewrite --- home/profiles/research/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 home/profiles/research/default.nix (limited to 'home/profiles/research/default.nix') 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" ]; + }; +} -- cgit 1.4.1