This commit is contained in:
mtgmonkey 2025-06-18 16:17:36 -04:00
commit 0e79899546
8 changed files with 229 additions and 0 deletions

17
flake.nix Normal file
View file

@ -0,0 +1,17 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
rust-http-server.url = "git+https://git.mtgmonkey.net/Andromeda/rust-http-server.git";
};
outputs = {
nixpkgs,
rust-http-server,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system}.default = pkgs.callPackage ./package.nix {inherit rust-http-server;};
# nixosModules.${system}.default = ./module.nix;
};
}