Install element-desktop
This commit is contained in:
parent
f5d46c0892
commit
f96e5717b3
6 changed files with 33 additions and 10 deletions
17
modules/programs/element/default.nix
Normal file
17
modules/programs/element/default.nix
Normal 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 ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue