{ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; outputs = { self, nixpkgs, ... }: let inherit (nixpkgs) lib; in { nixosModules = { default = import ./module.nix; florp = args: { services.akkoma.moderation = import ./florp.nix args; }; }; checks = lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system: { default = (lib.nixosSystem { inherit system; modules = [ { system.stateVersion = "24.11"; fileSystems."/".device = "nodev"; boot.loader.grub.enable = false; } ] ++ (with self.nixosModules; [ default florp ]); }).config.system.build.toplevel; }); }; }