From a83ec768eb64b1d86ba340e757c6982968beba8c Mon Sep 17 00:00:00 2001 From: KnightArtorias Date: Sun, 21 Jun 2026 11:44:11 -0400 Subject: [PATCH] Add element --- modules/features/tiling/niri.nix | 8 ++++++++ modules/hosts/crow/configuration.nix | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/modules/features/tiling/niri.nix b/modules/features/tiling/niri.nix index bb6341d..a10ad6f 100644 --- a/modules/features/tiling/niri.nix +++ b/modules/features/tiling/niri.nix @@ -126,6 +126,14 @@ matches = [ { app-id="^flameshot$"; } ]; open-floating = true; } + { + matches = [ { app-id="^Lens$"; } ]; + open-maximized = true; + } + { + matches = [ { app-id="^element$"; } ]; + open-maximized = true; + } ]; binds = { diff --git a/modules/hosts/crow/configuration.nix b/modules/hosts/crow/configuration.nix index 9794251..016aca2 100644 --- a/modules/hosts/crow/configuration.nix +++ b/modules/hosts/crow/configuration.nix @@ -37,6 +37,17 @@ lutris steam easyeffects + + # Wrap Element so it knows where gnome-libsecret it + (symlinkJoin { + name = "element-desktop"; + paths = [ element-desktop ]; + nativeBuildInputs = [ makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/element-desktop \ + --add-flags "--password-store=gnome-libsecret" + ''; + }) ]; nixpkgs.overlays = [