flake.lock: bump

flake.nix: add niri and xwst
niri: move to flake packages

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-07-29 14:12:04 +03:00
parent c6ce54d67c
commit e0a8b161e3
6 changed files with 253 additions and 97 deletions

View File

@@ -1,6 +1,9 @@
{
config,
lib,
osConfig,
perSystem,
# pkgs,
launcher,
lockscreen,
...
@@ -92,7 +95,6 @@ in {
'';
in ''
environment {
DISPLAY ":123"
CLUTTER_BACKEND "wayland"
GDK_BACKEND "wayland"
MOZ_ENABLE_WAYLAND "1"
@@ -138,6 +140,14 @@ in {
skip-at-startup
}
xwayland-satellite {
path "${lib.getExe perSystem.xwst.xwayland-satellite}"
}
clipboard {
disable-primary
}
prefer-no-csd
screenshot-path "${xdgPics}/screenshots/screenshot-%Y-%m-%d-%H-%M-%S.png"
@@ -315,6 +325,7 @@ in {
XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "raise"; }
XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "lower"; }
XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; }
Shift+XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; }
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
XF86AudioPause allow-when-locked=true { spawn "playerctl" "pause"; }