From d3bb764006ede6a4a7066284d8579a0a2b6c1ff8 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Mon, 16 Oct 2023 22:56:56 +0200 Subject: [PATCH] pinwheel: Move `opengl` config to `hyprland` module --- hosts/pinwheel/configuration.nix | 1 - hosts/pinwheel/modules/hyprland/default.nix | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/configuration.nix b/hosts/pinwheel/configuration.nix index a6c31d8..b9c8aa1 100644 --- a/hosts/pinwheel/configuration.nix +++ b/hosts/pinwheel/configuration.nix @@ -55,7 +55,6 @@ LC_TIME = "en_US.UTF-8"; }; - hardware.opengl.enable = true; programs.dconf.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index eb73511..5da9f72 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -128,6 +128,9 @@ home.packages = [ pkgs.jq pkgs.bc ]; }; + # openGL is needed for wayland/hyprland + hardware.opengl.enable = true; + systemd.user.services.hyprland-monitors = { # systemctl --user restart hyprland-monitors.service # journalctl --user -u hyprland-monitors.service -e -f