diff --git a/flake.lock b/flake.lock index d29dbb2..707a698 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,31 @@ { "nodes": { + "hyprgraphics": { + "inputs": { + "hyprutils": [ + "hyprutils" + ], + "nixpkgs": [ + "nixpkgs" + ], + "systems": [ + "systems" + ] + }, + "locked": { + "lastModified": 1732808127, + "narHash": "sha256-jwqYmLVfvoLPu8UScEzZgdbbiNU3ioYcrsthjEEnGqI=", + "owner": "hyprwm", + "repo": "hyprgraphics", + "rev": "4d927a52be7e15e0846456f2aa1b0ad76b5bf059", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprgraphics", + "type": "github" + } + }, "hyprlang": { "inputs": { "hyprutils": [ @@ -67,6 +93,7 @@ }, "root": { "inputs": { + "hyprgraphics": "hyprgraphics", "hyprlang": "hyprlang", "hyprutils": "hyprutils", "nixpkgs": "nixpkgs", diff --git a/flake.nix b/flake.nix index 54dbbe2..17e7b8d 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,13 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; systems.url = "github:nix-systems/default-linux"; + hyprgraphics = { + url = "github:hyprwm/hyprgraphics"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.systems.follows = "systems"; + inputs.hyprutils.follows = "hyprutils"; + }; + hyprutils = { url = "github:hyprwm/hyprutils"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/nix/default.nix b/nix/default.nix index adb23f2..9b31c58 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -11,6 +11,7 @@ libwebp, libxkbcommon, mesa, + hyprgraphics, hyprlang, hyprutils, pam, @@ -43,6 +44,7 @@ stdenv.mkDerivation { libwebp libxkbcommon mesa + hyprgraphics hyprlang hyprutils pam diff --git a/nix/overlays.nix b/nix/overlays.nix index 40c56f2..bab4cac 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -13,6 +13,7 @@ in { default = inputs.self.overlays.hyprlock; hyprlock = lib.composeManyExtensions [ + inputs.hyprgraphics.overlays.default inputs.hyprlang.overlays.default inputs.hyprutils.overlays.default inputs.self.overlays.sdbuscpp