added homepage
This commit is contained in:
commit
1936d7cab9
13 changed files with 1262 additions and 0 deletions
24
flake.nix
Normal file
24
flake.nix
Normal 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 { };
|
||||
});
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue