From 436903543bd49e9dc41439a1cc949e8152130d91 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 2 Jun 2025 21:04:51 +0200 Subject: [PATCH] feat: update Signal desktop execution command for hardware acceleration and modify Sway terminal configuration --- hosts/nb/modules/desktop/signal-work.nix | 2 +- hosts/nb/modules/fingerprint.nix | 4 ++-- hosts/nb/modules/sway/foot.ini | 1 + hosts/nb/modules/sway/sway.conf | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/nb/modules/desktop/signal-work.nix b/hosts/nb/modules/desktop/signal-work.nix index 88d44b3..d9f2d04 100644 --- a/hosts/nb/modules/desktop/signal-work.nix +++ b/hosts/nb/modules/desktop/signal-work.nix @@ -6,7 +6,7 @@ let name = "signal-work"; desktopName = "Signal with work profile"; icon = "signal-desktop"; - exec = "signal-desktop --enable-dev-tools --enable-features=VaapiVideoDecoder --user-data-dir=/home/dominik/.config/Signal-work -- %u"; + exec = "SIGNAL_USE_HARDWARE_ACCELERATION=1 signal-desktop --enable-dev-tools --enable-features=VaapiVideoDecoder --user-data-dir=/home/dominik/.config/Signal-work -- %u"; }; in { environment.systemPackages = [ diff --git a/hosts/nb/modules/fingerprint.nix b/hosts/nb/modules/fingerprint.nix index 5ff0be2..58a4de8 100644 --- a/hosts/nb/modules/fingerprint.nix +++ b/hosts/nb/modules/fingerprint.nix @@ -3,7 +3,7 @@ { services.fprintd.enable = true; - security.pam.services.login.fprintAuth = true; + # security.pam.services.login.fprintAuth = true; security.pam.services.sudo.fprintAuth = true; # If you use swaylock and want fingerprint auth for it: security.pam.services.swaylock.fprintAuth = true; @@ -21,4 +21,4 @@ } }); ''; -} \ No newline at end of file +} diff --git a/hosts/nb/modules/sway/foot.ini b/hosts/nb/modules/sway/foot.ini index de1b1f1..615ed09 100644 --- a/hosts/nb/modules/sway/foot.ini +++ b/hosts/nb/modules/sway/foot.ini @@ -2,6 +2,7 @@ # shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) # term=foot (or xterm-256color if built with -Dterminfo=disabled) +term=xterm-256color # login-shell=no # app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode diff --git a/hosts/nb/modules/sway/sway.conf b/hosts/nb/modules/sway/sway.conf index 7707b06..fc9b718 100644 --- a/hosts/nb/modules/sway/sway.conf +++ b/hosts/nb/modules/sway/sway.conf @@ -293,7 +293,7 @@ exec /run/wrappers/bin/gnome-keyring-daemon --start --daemonize exec dbus-sway-environment exec configure-gtk exec nm-applet --indicator -exec alacritty -t alacritty-sway +exec foot -c /etc/xdg/foot/foot.ini -T terminal-sway exec firefox --name=social -p social exec thunderbird exec firefox