From 8128bb4bffd26710ed8575d8631a0ddf80605134 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 28 Nov 2024 17:52:24 +0200 Subject: [PATCH] Nix: add hyprgraphics --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 8 ++++++++ nix/default.nix | 2 ++ 3 files changed, 37 insertions(+) diff --git a/flake.lock b/flake.lock index 8ba72fc..268fe5c 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": [ @@ -90,6 +116,7 @@ }, "root": { "inputs": { + "hyprgraphics": "hyprgraphics", "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", diff --git a/flake.nix b/flake.nix index 3c7351b..a21e882 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"; @@ -49,6 +56,7 @@ overlays = { default = self.overlays.hyprpaper; hyprpaper = lib.composeManyExtensions [ + inputs.hyprgraphics.overlays.default inputs.hyprlang.overlays.default inputs.hyprutils.overlays.default inputs.hyprwayland-scanner.overlays.default diff --git a/nix/default.nix b/nix/default.nix index 514a50f..0430fe8 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -7,6 +7,7 @@ expat, file, fribidi, + hyprgraphics, hyprlang, hyprutils, hyprwayland-scanner, @@ -62,6 +63,7 @@ stdenv.mkDerivation { expat file fribidi + hyprgraphics hyprlang hyprutils libdatrie