Homelab updates

- Change domain to opdavies.uk as this works with HTTPS/SSL.
- Switch Nginx to Caddy.
This commit is contained in:
Oliver Davies 2025-01-01 14:45:03 +00:00
parent f43069adac
commit 07fde36fb0
17 changed files with 98 additions and 64 deletions

View file

@ -2,11 +2,13 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ inputs, pkgs, ... }:
{ inputs, ... }:
{
imports = [
./hardware-configuration.nix
./modules/acme.nix
];
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
@ -30,4 +32,6 @@
80
443
];
services.caddy.enable = true;
}