[nix] Reorganizes files and makes an apps folder.
This commit is contained in:
14
home-manager/apps/element.nix
Normal file
14
home-manager/apps/element.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
element-desktop
|
||||
];
|
||||
|
||||
xdg.desktopEntries = {
|
||||
element-desktop = {
|
||||
name = "Element";
|
||||
# Custom options to reduce flickering under wayland.
|
||||
exec = "element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user