diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-09 09:42:03 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-09 09:42:03 -0700 |
commit | 1125aaa49aec6a220fd3b9d03076fec398b35a14 (patch) | |
tree | 5570b0c094ead9d7879ca3d360ff3de7f45d4516 /home/element/default.nix | |
parent | delete all CLI modules (diff) | |
download | world-1125aaa49aec6a220fd3b9d03076fec398b35a14.tar.gz |
add a few more modules to home/ and delete stuff
Diffstat (limited to '')
-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..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 ]; }; +} |