2023-12-18 09:37:50 -06:00
|
|
|
{
|
|
|
|
description = "Squad Servers NixOS Module";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
2023-12-18 10:12:58 -06:00
|
|
|
outputs = { self, flake-utils, nixpkgs }: (flake-utils.lib.eachDefaultSystem (system:
|
2023-12-18 09:37:50 -06:00
|
|
|
let
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
nixpkgs-fmt
|
|
|
|
];
|
|
|
|
};
|
2023-12-18 10:12:58 -06:00
|
|
|
|
|
|
|
})) // {
|
|
|
|
nixosModules.server = import ./modules/squad-server.nix;
|
|
|
|
};
|
2023-12-18 09:37:50 -06:00
|
|
|
}
|