init
This commit is contained in:
commit
0e79899546
8 changed files with 229 additions and 0 deletions
17
flake.nix
Normal file
17
flake.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue