mirror of
https://github.com/nix-community/srvos.git
synced 2024-11-09 22:15:01 +03:00
0255510812
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
22 lines
525 B
Nix
22 lines
525 B
Nix
{
|
|
description = "Server-optimized NixOS configuration";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
|
|
outputs = { self, ... }:
|
|
{
|
|
lib.supportedSystems = [
|
|
"aarch64-darwin"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"x86_64-linux"
|
|
];
|
|
|
|
# generates future flake outputs: `modules.<kind>.<module-name>`
|
|
modules.nixos = import ./nixos;
|
|
|
|
# compat to current schema: `nixosModules` / `darwinModules`
|
|
nixosModules = self.modules.nixos;
|
|
};
|
|
}
|