diff options
Diffstat (limited to 'home/element')
-rw-r--r-- | home/element/default.nix | 10 |
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 ]; }; +} |