about summary refs log tree commit diff
path: root/home/element/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-09 09:42:03 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-09 09:42:03 -0700
commit1125aaa49aec6a220fd3b9d03076fec398b35a14 (patch)
tree5570b0c094ead9d7879ca3d360ff3de7f45d4516 /home/element/default.nix
parentdelete all CLI modules (diff)
downloadworld-1125aaa49aec6a220fd3b9d03076fec398b35a14.tar.gz
add a few more modules to home/ and delete stuff
Diffstat (limited to '')
-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..44fa583
--- /dev/null
+++ b/home/element/default.nix
@@ -0,0 +1,10 @@
+{ lib, config, ... }:
+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 ]; };
+}