zaphyra's git: tgcNUR

fork of https://git.transgirl.cafe/zaphoid/tgc-nix-user-repository

commit 1f167e7ae841569f4a8bc6ed3834e26bcc534855
parent d3ba1a67dab28e976f170fde742903df9321f5ef
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 21 Aug 2025 17:28:48 +0200

overlays: add `tuigreet`
1 file changed, 20 insertions(+), 0 deletions(-)
A
overlays/tuigreet.nix
|
20
++++++++++++++++++++
diff --git a/overlays/tuigreet.nix b/overlays/tuigreet.nix
@@ -0,0 +1,20 @@
+final: prev: {
+  greetd = prev.greetd // {
+    tuigreet = prev.greetd.tuigreet.overrideAttrs rec {
+      version = "0.10.0-unstable-2024-11-12";
+      useFetchCargoVendor = true;
+      # for some stupid reason `cargoHash` doesn't work in `overrideAttrs`, so we have to do it this way
+      cargoDeps = final.rustPlatform.fetchCargoVendor {
+        inherit src;
+        hash = "sha256-FrWDRsYhfq46wBm7F0Tifiw5oGXzSgwZC05ndNXcg8k=";
+      };
+      src = prev.fetchFromGitHub {
+        owner = "apognu";
+        repo = "tuigreet";
+        rev = "2aeca1b63dec977fc4e2ac6f97432386bedbc546";
+        sha256 = "sha256-6hVTU575tP+bPAUZlGhDwvBTVISyORC0wqljC7guZdA=";
+      };
+      doCheck = false;
+    };
+  };
+}