From fc19562e68316e9fcbb69cb0a608bf602c31ef44 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Sun, 14 Jan 2024 22:54:43 +0300 Subject: [PATCH] vps stuff testing --- hosts/vps1/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/vps1/configuration.nix b/hosts/vps1/configuration.nix index 65b2c50..3646495 100644 --- a/hosts/vps1/configuration.nix +++ b/hosts/vps1/configuration.nix @@ -22,6 +22,13 @@ port = 22; }; + services.nginx = { + enable = true; + virtualHosts."gtnh.lgm.6dcdb488.nip.io" = { + root = "/var/www/gtnh"; + }; + }; + programs.mosh.enable = true; environment.systemPackages = with pkgs; [ @@ -34,6 +41,7 @@ description = "lgm"; extraGroups = [ "wheel""docker"]; shell = pkgs.fish; + openssh.authorizedKeys.keys = [''sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHFPA2RhqZIVCLwYuEUDQyOnJ4g1R6IfQyhGqZ2Cvvu+AAAABHNzaDo= lgm@lgm-nixos'']; }; system.stateVersion = "23.11";