Install element-desktop

This commit is contained in:
Charlotte Van Petegem 2021-10-18 13:32:08 +02:00
parent f5d46c0892
commit f96e5717b3
No known key found for this signature in database
GPG key ID: 019E764B7184435A
6 changed files with 33 additions and 10 deletions

View file

@ -5,6 +5,7 @@
./calibre
./deluge
./eid
./element
./hledger
./obs
];

View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
{
options.chvp.programs.element.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.programs.element.enable {
chvp.base.zfs.homeLinks = [
{ path = ".config/Element"; type = "cache"; }
];
home-manager.users.charlotte = { ... }: {
home.packages = [ pkgs.element-desktop-wayland ];
};
};
}