Compare commits

..

No commits in common. "d376da4ca48e7fd9eb4bfd424abb46870030f367" and "9d06f8ebc590082d6001a14403449ce562a58600" have entirely different histories.

6 changed files with 25 additions and 22 deletions

View File

@ -29,9 +29,6 @@ makeEnable config "modules.code" true {
typescript typescript
nodePackages.typescript-language-server nodePackages.typescript-language-server
# golang
go
# Rust # Rust
rustup rustup

View File

@ -33,7 +33,7 @@ makeEnable config "modules.gitea-runner" false {
]; ];
enable = true; enable = true;
name = config.networking.hostName; name = config.networking.hostName;
url = "https://dev.railbird.ai"; url = "https://1896Folsom.duckdns.org:3000";
tokenFile = config.age.secrets.gitea-runner-token.path; tokenFile = config.age.secrets.gitea-runner-token.path;
labels = [ labels = [
"nixos-${pkgs.system}:host" "nixos-${pkgs.system}:host"

View File

@ -5,10 +5,10 @@ makeEnable config "modules.gitea" false {
enable = true; enable = true;
lfs.enable = true; lfs.enable = true;
settings.server = { settings.server = {
DOMAIN = "dev.railbird.ai"; DOMAIN = "1896Folsom.duckdns.org";
SSH_PORT = 1123; SSH_PORT = 1123;
HTTP_PORT = 3001; HTTP_PORT = 3001;
ROOT_URL = "https://dev.railbird.ai"; ROOT_URL = "https://1896Folsom.duckdns.org:3000";
}; };
settings.actions = { settings.actions = {
ENABLED = true; ENABLED = true;
@ -17,14 +17,16 @@ makeEnable config "modules.gitea" false {
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedProxySettings = true;
recommendedGzipSettings = true;
recommendedTlsSettings = true;
virtualHosts = { virtualHosts = {
"dev.railbird.ai" = { "gitea" = {
serverName = "dev.railbird.ai"; serverName = "1896Folsom.duckdns.org";
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
listen = [{
addr = "0.0.0.0";
port = 3000;
ssl = true;
}];
locations."/" = { locations."/" = {
proxyPass = "http://localhost:3001"; proxyPass = "http://localhost:3001";
}; };

View File

@ -34,7 +34,6 @@ rec {
andyKeys = [ andyKeys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqB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K0nXzl8amLrGGrh36TrR7pv9hWLeNIMCARvOtABMdQmrT1dI4FxLK1uKM696uzfoaZDUn58G2VGrd loewy gitlab" "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDROb8zcXAgqR3xNpStjt8kSL2Tnic+aWVlQRkmmLveay0RDPatHVKiWtscBoFYvL19xwpi692nZjyPAGQBLMquVx8rexHUFVbs6UVM41Y/QV0UZLSlVM7xNl3nL/dQoxT8OC2a9WJThNm41EjFzzKAuUaWqjm4+uEsC9felBIzndlA5/bIn6EUkMb2X8qmOOIOod1UeVZeK0fWMoDdKsHtQjiQrrP4nLjOmrTQ+BF2yUHwFbW6SCQiXT1Jzq4zymnI717ZraTK0nXzl8amLrGGrh36TrR7pv9hWLeNIMCARvOtABMdQmrT1dI4FxLK1uKM696uzfoaZDUn58G2VGrd loewy gitlab"
]; ];

View File

@ -25,7 +25,7 @@ in
path = "/nix-cache"; path = "/nix-cache";
}; };
modules.gitea.enable = true; modules.gitea.enable = true;
modules.gitea-runner.enable = false; modules.gitea-runner.enable = true;
services.vaultwarden = { services.vaultwarden = {
enable = true; enable = true;
@ -46,13 +46,24 @@ in
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts = { virtualHosts = {
"vaultwarden.railbird.ai" = { "1896Folsom.duckdns.org" = {
enableACME = true; # enableACME = true;
forceSSL = true; # forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://[::1]:8222"; proxyPass = "http://[::1]:8222";
}; };
}; };
"dev.railbird.ai" = {
enableACME = true;
forceSSL = true;
listen = [{
addr = "0.0.0.0";
ssl = true;
}];
locations."/" = {
proxyPass = "http://localhost:3001";
};
};
}; };
}; };

View File

@ -46,12 +46,6 @@ in
shell = pkgs.zsh; shell = pkgs.zsh;
openssh.authorizedKeys.keys = kanivanKeys ++ deanKeys; openssh.authorizedKeys.keys = kanivanKeys ++ deanKeys;
}; };
will = userDefaults // {
extraGroups = extraGroupsWithWheel;
name = "will";
shell = pkgs.zsh;
openssh.authorizedKeys.keys = kanivanKeys ++ willKeys;
};
alex = userDefaults // { alex = userDefaults // {
extraGroups = extraGroupsWithWheel; extraGroups = extraGroupsWithWheel;
name = "alex"; name = "alex";