add lockscreen

This commit is contained in:
2025-05-06 22:54:36 +02:00
parent 11358663fc
commit 23010ee036
13 changed files with 129 additions and 21 deletions

View File

@@ -1,14 +0,0 @@
final: prev: {
obsidian = prev.obsidian.overrideAttrs (old: {
src = prev.fetchurl {
url = old.src.url;
<<<<<<< HEAD
hash = "sha256-bvmvzVyHrjh1Yj3JxEfry521CMX3E2GENmXddEeLwiE=";
=======
hash = "sha256-XVq0nQiyT2HvKQpzJIvhghsGgg4ye7uqZcyA1nH4O/o=";
>>>>>>> test
};
});
}

31
overlays/river-status.nix Normal file
View File

@@ -0,0 +1,31 @@
self: super:
{
river-status = super.rustPlatform.buildRustPackage rec {
pname = "river-status";
version = "0.1.0"; # Replace with the actual version if known
src = super.fetchFromGitHub {
owner = "grvn";
repo = "river-status";
rev = "main"; # Replace with a specific commit hash or tag if needed
sha256 = "sha256-QTHn3+8CRpm5CoTwuhoMjBG16CYcOb79cOXgcgzimkc="; # Placeholder
};
cargoHash = "sha256-DPsQE71sEpfVnyI6V/da5n9V9pbItPZMuu/EM/30Jyo="; # Placeholder
nativeBuildInputs = [
super.pkg-config # If you're dealing with C libraries or dependencies
];
buildInputs = [
super.wayland-utils # Add this or other dependencies if they are required for building
];
meta = with super.lib; {
description = "A client for fetching status information from the River Wayland compositor";
homepage = "https://github.com/grvn/river-status";
license = licenses.mit;
maintainers = with maintainers; [ "Elias Schröter" ];
};
};
}

5
overlays/shell.nix Normal file
View File

@@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> { overlays = [ (import ./river-status.nix) ]; } }:
pkgs.mkShell {
buildInputs = [ pkgs.river-status ];
}