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 ])