Initial Commit: sufficient wayland work to lock screen on solid black and unlock

This commit is contained in:
bluepython508
2025-03-19 16:14:21 +00:00
commit d3cb9da3aa
8 changed files with 1136 additions and 0 deletions

31
flake.nix Normal file
View File

@@ -0,0 +1,31 @@
{
description = "Description for the project";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
crane-flake-parts = {
url = "github:bluepython508/crane-flake-parts";
inputs.rust-overlay.follows = "rust-overlay";
};
};
outputs = inputs@{ flake-parts, crane-flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
crane-flake-parts.flakeModules.default
];
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
crane.source = ./.;
perSystem = { pkgs, lib, ... }: {
crane.craneArgs = {
nativeBuildInputs = [pkgs.pkg-config];
buildInputs = with pkgs; [ dbus ];
};
};
};
}