From 1125aaa49aec6a220fd3b9d03076fec398b35a14 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Apr 2022 09:42:03 -0700 Subject: add a few more modules to home/ and delete stuff --- home/element/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 home/element/default.nix (limited to 'home/element') 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 ]; }; +} -- cgit 1.4.1