{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; tmpfiles.url = "git+http://git.tempest.dev/ashe/tmpfiles?ref=refs/tags/v0.1.0"; }; outputs = { self, nixpkgs, tmpfiles }: { nixosConfigurations = { nyx = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./hosts/nyx/configuration.nix tmpfiles.nixosModule ({ pkgs, ...}: { networking.firewall.allowedTCPPorts = [ 80 443 ]; services.nginx.enable = true; security.acme.acceptTerms = true; security.acme.defaults.email = "acme@tempest.dev"; ashe.services.tmpfiles.enable = true; ashe.services.tmpfiles.domain = "files.tempest.dev"; ashe.services.tmpfiles.port = 4441; }) ]; }; }; }; }