{
  description = "A NixOS configuration for my data server";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
  };

  outputs = { self, nixpkgs, ... }@inputs:
    {
      nixosConfigurations.dataserver = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          ./configuration.nix
          ./services/mailserver.nix
          ./services/miniflux.nix
          ./services/nextcloud.nix
        ];
      };
    };
}
