Add flake.nix for easy building

This commit is contained in:
2026-03-26 15:45:38 +01:00
parent 601c9677b7
commit 1cc69bcc61
+14
View File
@@ -0,0 +1,14 @@
{
description = "A high-performance Wayland screen locker written in Rust";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }: let
system = builtins.currentSystem;
pkgs = import nixpkgs { inherit system; };
in {
packages.${system}.rustlock = pkgs.callPackage ./default.nix {};
};
}