You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
847 B
Nix
33 lines
847 B
Nix
1 year ago
|
{
|
||
|
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;
|
||
|
})
|
||
|
];
|
||
|
};
|
||
|
|
||
|
};
|
||
|
};
|
||
|
}
|