added homepage

This commit is contained in:
specCon18 2024-02-14 14:32:54 -05:00
commit 1936d7cab9
13 changed files with 1262 additions and 0 deletions

24
flake.nix Normal file
View file

@ -0,0 +1,24 @@
{
description = "SunServer";
inputs={
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }@inputs:
let
supportedSystems = [ "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgs = forAllSystems (system:
import nixpkgs {
inherit system;
}
);
in {
packages = forAllSystems (system: {
default = pkgs.${system}.callPackage ./nix/default.nix { };
});
devShells = forAllSystems (system: {
default = pkgs.${system}.callPackage ./nix/devshell.nix { };
});
};
}