phone: Disable drop shadow / blur / animations

Makes using Hyprland much faster on the PinePhone.
This commit is contained in:
Donovan Glover 2024-06-19 20:31:38 -04:00
parent 0e95b81999
commit 3c38068594
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,6 +1,7 @@
{ nix-config, pkgs, ... }: { nix-config, pkgs, lib, ... }:
let let
inherit (lib) singleton mkForce;
inherit (builtins) attrValues; inherit (builtins) attrValues;
in in
{ {
@ -9,7 +10,18 @@ in
}; };
nixpkgs.overlays = attrValues nix-config.overlays; nixpkgs.overlays = attrValues nix-config.overlays;
home-manager.sharedModules = attrValues nix-config.homeManagerModules;
home-manager.sharedModules = attrValues nix-config.homeManagerModules ++ singleton {
wayland.windowManager.hyprland.settings = mkForce {
decoration = {
drop_shadow = false;
blur.enabled = false;
};
animations.enabled = false;
};
};
environment.systemPackages = attrValues nix-config.packages.${pkgs.system}; environment.systemPackages = attrValues nix-config.packages.${pkgs.system};
modules = { modules = {