Squad.nix/flake.nix

23 lines
532 B
Nix
Raw Normal View History

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";
};
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
];
};
})) // {
nixosModules.server = import ./modules/squad-server.nix;
};
2023-12-18 09:37:50 -06:00
}