best-blog/flake.nix
mtgmonkey 0e79899546 init
2025-06-18 16:17:36 -04:00

17 lines
458 B
Nix

{
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;
};
}