add pterodactyl

This commit is contained in:
zackartz 2024-05-03 16:28:54 -04:00
parent 15662a034a
commit 903fa8deaa
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
5 changed files with 13 additions and 65 deletions

View file

@ -60,18 +60,13 @@
users.users.zack = {
isNormalUser = true;
description = "zack";
extraGroups = ["networkmanager" "wheel"];
extraGroups = ["networkmanager" "wheel" "docker"];
shell = pkgs.zsh;
packages = with pkgs; [];
hashedPassword = "$6$rounds=2000000$673Iz4rM8Dr9yz7C$Xq5JXxE7ioUrpZmMf3uTrPN2ODrEu3Sph6EhWyPoM5Ty./FhgB9hU0mz1yYo8sUj7wdUMWfR98haVJ24Wv3BK/";
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];
virtualisation.docker.enable = true;
home-manager = {
extraSpecialArgs = {inherit inputs;};

View file

@ -0,0 +1,10 @@
{pkgs, ...}: {
services.mysql = {
enable = true;
package = pkgs.mariadb;
};
services.redis = {
enable = true;
};
}

View file

@ -16,7 +16,7 @@
services.nginx.virtualHosts."search.zackmyers.io" = {
forceSSL = true;
enableACME = true;
locations."/" = {
locations."/searx" = {
proxyPass = "http://localhost:8080";
};
};