Install element-desktop
This commit is contained in:
parent
f5d46c0892
commit
f96e5717b3
6 changed files with 33 additions and 10 deletions
|
@ -150,13 +150,16 @@ in
|
|||
workspace 8 output DP-3 DP-4 DP-5 HDMI-A-1 eDP-1
|
||||
workspace 9 output DP-3 DP-4 DP-5 HDMI-A-1 eDP-1
|
||||
|
||||
workspace 1
|
||||
exec ${pkgs.qutebrowser}/bin/qutebrowser
|
||||
|
||||
no_focus [title="Microsoft Teams Notification"]
|
||||
|
||||
default_border pixel
|
||||
'';
|
||||
|
||||
workspace 1
|
||||
exec ${pkgs.qutebrowser}/bin/qutebrowser
|
||||
'' + (lib.optionalString config.chvp.programs.element.enable ''
|
||||
workspace 3
|
||||
exec ${pkgs.element-desktop-wayland}/bin/element-desktop
|
||||
'');
|
||||
extraSessionCommands = ''
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
./calibre
|
||||
./deluge
|
||||
./eid
|
||||
./element
|
||||
./hledger
|
||||
./obs
|
||||
];
|
||||
|
|
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