From 3d0d2363e326cb95e295c16567cbbe3e12855103 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 21 Aug 2024 20:22:49 +0900 Subject: [PATCH] Update Hyprland --- flake.nix | 5 ----- .../common/desktops/hyprland/components/hyprland.nix | 9 ++++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 54b51216..3a6356f9 100644 --- a/flake.nix +++ b/flake.nix @@ -41,12 +41,7 @@ plasma-manager.url = "github:pjones/plasma-manager"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; # Hyprland Flake - # Hyprland issue 6816 -# hyprland.url = "https://github.com/hyprwm/Hyprland?submodules=1&ref=v0.41.2"; hyprland.url = "github:hyprwm/Hyprland"; - # Hyprland plugins: - hyprland-plugins.url = "github:hyprwm/hyprland-plugins"; - # hyprland-plugins.inputs.hyprland.follows = "hyprland"; }; outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs: let diff --git a/home-manager/common/desktops/hyprland/components/hyprland.nix b/home-manager/common/desktops/hyprland/components/hyprland.nix index 4bb5c218..f2819b31 100644 --- a/home-manager/common/desktops/hyprland/components/hyprland.nix +++ b/home-manager/common/desktops/hyprland/components/hyprland.nix @@ -1,10 +1,9 @@ -{ inputs, pkgs, ... }: { +{ pkgs, ... }: { wayland.windowManager.hyprland = { enable = true; - package = inputs.hyprland.packages.${pkgs.system}.hyprland; - plugins = [ - inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo - inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars + plugins = with pkgs.hyprlandPlugins; [ + hyprbars + hyprexpo ]; extraConfig = '' # Resize