mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:08:11 +09:00
display
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user