From 2b2d9880a858394f71d193d97a36ae39f393531e Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Thu, 3 Oct 2024 13:05:05 +0200 Subject: [PATCH] pleading_face --- hosts/vulpecula/configuration.nix | 53 ++++--------------------------- 1 file changed, 7 insertions(+), 46 deletions(-) diff --git a/hosts/vulpecula/configuration.nix b/hosts/vulpecula/configuration.nix index bc5d028..a5520e6 100644 --- a/hosts/vulpecula/configuration.nix +++ b/hosts/vulpecula/configuration.nix @@ -1,47 +1,3 @@ -# { -# pkgs, -# lib, -# inputs, -# ... -# }: let -# sshKeys = import ../../crypto/ssh-keys.nix; -# in { -# imports = [ -# ./hardware-configuration.nix -# ../../common/base.nix -# ]; - -# networking = { -# hostName = "vulpecula"; - -# firewall = { -# allowedTCPPorts = [ -# # 2342 -# # 8080 # ? -# # 9000 -# # 9002 -# ]; -# }; -# }; - -# # nix.settings.trusted-users = ["root" "@wheel"]; # TODO - -# users.users.tasia = { -# isNormalUser = true; -# description = "Tasia"; -# extraGroups = ["networkmanager" "wheel"]; -# initialPassword = "correcthorsebatterystaple"; -# openssh.authorizedKeys.keys = [ -# sshKeys.tasia.yaseen -# ]; -# }; - -# environment.systemPackages = with pkgs; [ -# ]; - -# # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion -# system.stateVersion = "24.05"; -# } { config, lib, ... }: let sshKeys = import ../../crypto/ssh-keys.nix; in { @@ -95,11 +51,16 @@ in { services.nginx.enable = true; services.nginx.virtualHosts."vulpecula.zone" = { - # addSSL = true; - # enableACME = true; + addSSL = true; + enableACME = true; root = "/www"; }; + security.acme = { + acceptTerms = true; + defaults.email = "tasiaiso@proton.me"; + }; + boot.tmp.cleanOnBoot = true; zramSwap.enable = true; networking.domain = "";