Add hyprland patches

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-05-25 01:27:07 +01:00
parent 3610611615
commit d995698feb
7 changed files with 168 additions and 44 deletions

View File

@@ -9,6 +9,17 @@
...
}:
{
nixpkgs.overlays = [
(final: prev: {
hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [
./auto-center.patch
./maxwidth-resolution-mode.patch
];
});
})
];
programs.hyprland.enable = true;
home-manager.users.${user} = {
@@ -106,6 +117,7 @@
general.layout = "master";
master = {
orientation = "center";
slave_count_for_center_master = 0;
mfact = 0.5;
};