commit d71a93600ea9b5baeb249e1b156cd087e1ebaf04
parent 602dea942e208de5ef6230bc6dce3385b879d9a9
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 7 Aug 2025 11:38:35 +0200
parent 602dea942e208de5ef6230bc6dce3385b879d9a9
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 7 Aug 2025 11:38:35 +0200
overlays: add `tuigreet`
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/flake.nix b/flake.nix @@ -61,7 +61,7 @@ lib = loadDir (path: path: import path inputs) ./lib; - overlays = { + overlays = (loadDir importLoader ./overlays) // { nixpkgsUnstable = final: prev: { unstable = inputs.nixpkgsUnstable.legacyPackages.${prev.system}; }; sherlock = final: prev: { sherlock-launcher = inputs.sherlock.packages.${prev.system}.default; }; packages = final: prev: loadDir (path: path: final.callPackage path { }) ./packages; @@ -71,6 +71,7 @@ inputs.self.overlays.packages inputs.self.overlays.nixpkgsUnstable inputs.self.overlays.sherlock + inputs.self.overlays.tuigreet inputs.zaphyraWebsite.overlays.default inputs.stagit.overlays.default inputs.flauschehornSexy.overlays.default
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; + }; + }; +}