vps stuff testing

This commit is contained in:
Lgmrszd 2024-01-14 22:54:43 +03:00
parent f106b5024e
commit fc19562e68
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -22,6 +22,13 @@
port = 22; port = 22;
}; };
services.nginx = {
enable = true;
virtualHosts."gtnh.lgm.6dcdb488.nip.io" = {
root = "/var/www/gtnh";
};
};
programs.mosh.enable = true; programs.mosh.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -34,6 +41,7 @@
description = "lgm"; description = "lgm";
extraGroups = [ "wheel""docker"]; extraGroups = [ "wheel""docker"];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [''sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHFPA2RhqZIVCLwYuEUDQyOnJ4g1R6IfQyhGqZ2Cvvu+AAAABHNzaDo= lgm@lgm-nixos''];
}; };
system.stateVersion = "23.11"; system.stateVersion = "23.11";