This commit is contained in:
2026-07-30 02:05:29 +09:00
parent acb5ed3449
commit e56af06b04
3 changed files with 64 additions and 6 deletions
+10 -3
View File
@@ -1,4 +1,9 @@
{ config, pkgs, ... }:
let
wdisplays = pkgs.wdisplays.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [ ./wdisplays-canonical-scale.patch ];
});
in
{
programs.niri.enable = true;
@@ -6,8 +11,10 @@
# user units with NixOS. Without this, Ly cannot start niri-session.
systemd.packages = [ config.programs.niri.package ];
environment.systemPackages = with pkgs; [
wdisplays # Wayland display configuration GUI
wlr-randr # Wayland output management CLI
environment.systemPackages = [
# Keep the transient Wayland-native GUI, with fractional scales rounded to
# the same wl_fixed_t value that niri receives on the first Apply.
wdisplays
pkgs.wlr-randr # Wayland output management CLI
];
}