about summary refs log tree commit diff
path: root/home/element/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/element/default.nix')
-rw-r--r--home/element/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/element/default.nix b/home/element/default.nix
new file mode 100644
index 0000000..3fcb50e
--- /dev/null
+++ b/home/element/default.nix
@@ -0,0 +1,10 @@
+{ lib, config, pkgs, ... }:
+let cfg = config.my.home.element;
+in {
+  options.my.home.element = with lib; {
+    enable = mkEnableOption "element configuration";
+  };
+
+  config =
+    lib.mkIf cfg.enable { home.packages = with pkgs; [ element-desktop ]; };
+}