hyprland: use shared desktop modules from GitHub
Pin illustris/flake to e09318c and consume its common Home Manager and NixOS Hyprland modules. Keep NVIDIA and monitor-specific settings, HDR controls and LG recovery in the desktop overrides. Remove the duplicated controller, panel, scripts and Waybar patches, update the regression test and documentation, and normalize Nix indentation to tabs with lib.indent for embedded scripts.
This commit is contained in:
18 files changed
+273
-1901
No files matched your search
@@ -1,29 +1,10 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
{
|
||||
programs.hyprland.withUWSM = true;
|
||||
programs.waybar.enable = lib.mkForce false;
|
||||
programs.hyprlock.enable = true;
|
||||
services.hypridle.enable = lib.mkForce false;
|
||||
# Preserve GPU allocations across suspend; EGL contexts otherwise fail on resume.
|
||||
hardware.nvidia = {
|
||||
powerManagement.enable = true;
|
||||
powerManagement.kernelSuspendNotifier = false;
|
||||
moduleParams.nvidia.NVreg_TemporaryFilePath = "/var/tmp";
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
services.udisks2.enable = true;
|
||||
services.displayManager.defaultSession = lib.mkForce "hyprland-uwsm";
|
||||
systemd.user.services.plasma-custom-wm.partOf = [ "plasma-workspace.target" ];
|
||||
xdg.portal = {
|
||||
extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
|
||||
config.hyprland = {
|
||||
default = [
|
||||
"hyprland"
|
||||
"kde"
|
||||
];
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
|
||||
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
||||
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
||||
};
|
||||
};
|
||||
# Preserve GPU allocations across suspend; EGL contexts otherwise fail on resume.
|
||||
hardware.nvidia = {
|
||||
powerManagement.enable = true;
|
||||
powerManagement.kernelSuspendNotifier = false;
|
||||
moduleParams.nvidia.NVreg_TemporaryFilePath = "/var/tmp";
|
||||
};
|
||||
services.displayManager.defaultSession = lib.mkForce "hyprland-uwsm";
|
||||
}
|
||||
Reference in new issue
Block a user