From e6e66b27ccba473a4efacd9ed7bdba3349ed4d3f Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 4 Nov 2023 12:58:30 +0300 Subject: [PATCH] Don't use an overlay for Hyprland as it messes it up & use wl-clipboard --- flake.nix | 3 ++- machines/enka/hyprland/default.nix | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 7d85e69..ed6df11 100644 --- a/flake.nix +++ b/flake.nix @@ -62,10 +62,11 @@ overlays = [ fenix.overlays.default - hyprland.overlays.default ]; }; + hyprland = hyprland.packages.${hostPlatform}.hyprland; + # SYSTEM systemConfiguration = attributes: attributes; diff --git a/machines/enka/hyprland/default.nix b/machines/enka/hyprland/default.nix index 5f593a2..1735c66 100644 --- a/machines/enka/hyprland/default.nix +++ b/machines/enka/hyprland/default.nix @@ -1,7 +1,9 @@ -{ lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate +{ lib, pkgs, hyprland, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate (homeConfiguration "nixos" { wayland.windowManager.hyprland = enabled { + package = hyprland; + extraConfig = '' monitor = , preferred, auto, 1 @@ -115,10 +117,8 @@ }; }) -(with pkgs; homePackages [ +(with pkgs; homePackages "nixos" [ grim slurp - - wl-copy - wl-paste + wl-clipboard ])