diff --git a/hosts/wallfacer/configuration.nix b/hosts/wallfacer/configuration.nix index d668bcd..0fa9883 100644 --- a/hosts/wallfacer/configuration.nix +++ b/hosts/wallfacer/configuration.nix @@ -1,8 +1,4 @@ -{ lib, config, ... }: -let - wallfacerTailscaleDomain = "wallfacer.curl-boga.ts.net"; -in -{ +{ lib, config, ... }: { imports = [ ./hardware-configuration.nix ../../modules @@ -10,27 +6,13 @@ in myModules = { enableKDE = false; enableFonts = false; - # enableNextcloud = true; + enableNextcloud = true; enableHydra = true; - enableCaddy = true; + # enableCaddy = true; enableAttic = true; enableCloudflared = true; }; - services.caddy.virtualHosts = { - "${wallfacerTailscaleDomain}" = { - extraConfig = '' - handle_path /hydra/* { - reverse_proxy localhost:${toString config.services.hydra.port} - } - handle_path /nextcloud/* { - respond "Nextcloud is not configured yet. Please set up the service." - } - ''; - }; - }; - networking.firewall.allowedTCPPorts = [ config.services.hydra.port ]; - boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; i18n.inputMethod.enable = lib.mkForce false;