From 8331f2dc1e5697e7a90b93441f05cc6824ddd3a1 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 29 Jan 2026 18:03:55 +0100 Subject: [PATCH] feat: setup pyprland. --- flake.lock | 96 +++++++++++++++++++++++++- flake.nix | 3 + modules/linux/home-manager/wayland.nix | 1 + 3 files changed, 97 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 8fe90e4..ed59d5f 100644 --- a/flake.lock +++ b/flake.lock @@ -352,6 +352,22 @@ "type": "github" } }, + "flake-compat_10": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-compat_2": { "flake": false, "locked": { @@ -632,7 +648,7 @@ }, "flake-utils_5": { "inputs": { - "systems": "systems_11" + "systems": "systems_12" }, "locked": { "lastModified": 1731533236, @@ -1749,6 +1765,22 @@ "type": "github" } }, + "nixpkgs_10": { + "locked": { + "lastModified": 1719082008, + "narHash": "sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9693852a2070b398ee123a329e68f0dab5526681", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable-small", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1764947035, @@ -2084,6 +2116,48 @@ "type": "github" } }, + "pyprland": { + "inputs": { + "flake-compat": "flake-compat_10", + "nixpkgs": "nixpkgs_10", + "pyproject-nix": "pyproject-nix", + "systems": "systems_10" + }, + "locked": { + "lastModified": 1769649110, + "narHash": "sha256-Lqt6mHA+VjCN1nf36E4Dgaf1OaGa/Zld6uaX8lxqvUA=", + "owner": "hyprland-community", + "repo": "pyprland", + "rev": "02331a9989deae391fa336bbfe70cea472a02fba", + "type": "github" + }, + "original": { + "owner": "hyprland-community", + "repo": "pyprland", + "type": "github" + } + }, + "pyproject-nix": { + "inputs": { + "nixpkgs": [ + "pyprland", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1764134915, + "narHash": "sha256-xaKvtPx6YAnA3HQVp5LwyYG1MaN4LLehpQI8xEdBvBY=", + "owner": "nix-community", + "repo": "pyproject.nix", + "rev": "2c8df1383b32e5443c921f61224b198a2282a657", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "pyproject.nix", + "type": "github" + } + }, "root": { "inputs": { "aagl": "aagl", @@ -2109,6 +2183,7 @@ "nix-on-droid": "nix-on-droid", "nixpkgs": "nixpkgs_9", "note": "note", + "pyprland": "pyprland", "stylix": "stylix", "upfast": "upfast", "zen-browser": "zen-browser" @@ -2182,7 +2257,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems_10", + "systems": "systems_11", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", @@ -2219,6 +2294,21 @@ } }, "systems_10": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, + "systems_11": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -2233,7 +2323,7 @@ "type": "github" } }, - "systems_11": { + "systems_12": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", diff --git a/flake.nix b/flake.nix index 7bd874e..4a528f1 100644 --- a/flake.nix +++ b/flake.nix @@ -115,6 +115,9 @@ url = "github:hyprwm/hyprlock"; }; + # Pyland for hyprland plugins + pyprland.url = "github:hyprland-community/pyprland"; + # AAGL aagl.url = "github:ezKEa/aagl-gtk-on-nix"; aagl.inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/linux/home-manager/wayland.nix b/modules/linux/home-manager/wayland.nix index 7449a34..a1a1834 100644 --- a/modules/linux/home-manager/wayland.nix +++ b/modules/linux/home-manager/wayland.nix @@ -17,6 +17,7 @@ cliphist wl-clipboard waylock + inputs.pyprland.packages.${pkgs.stdenv.hostPlatform.system}.pyprland ]; # Enable and setup tofi