-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
177 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,8 +56,6 @@ jobs: | |
id: plan | ||
run: | | ||
mkdir logs | ||
tree -L 3 . | ||
pwd | ||
set +e | ||
nix develop ./flakes --command terraform-wrapper plan -out="$PWD/terraform.plan" -detailed-exitcode \ | ||
> >(sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' | tee logs/terraform-plan.stdout.log) \ | ||
|
@@ -195,6 +193,7 @@ jobs: | |
if [ -z "$(git status --porcelain)" ]; then | ||
echo "repository is clean, skip commit and push" | ||
else | ||
git pull | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "jz832543" | ||
git add --all | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
return { | ||
override_enabled = true, | ||
worldgen_preset = "DST_CAVE", | ||
settings_preset = "DST_CAVE", | ||
overrides = {}, | ||
override_enabled = true, | ||
worldgen_preset = "DST_CAVE", | ||
settings_preset = "DST_CAVE", | ||
overrides = {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
return { | ||
override_enabled = true, | ||
overrides = {}, | ||
override_enabled = true, | ||
overrides = {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
return { | ||
--# Health Info | ||
["workshop-375859599"] = { enabled = true }, | ||
--# Show Me | ||
["workshop-2287303119"] = { enabled = true }, | ||
--# No Thermal Stone Durability | ||
["workshop-466732225"] = { enabled = true }, | ||
--# Extra Equip Slots | ||
["workshop-375850593"] = { enabled = true }, | ||
--# Display Attack Range | ||
["workshop-2078243581"] = { enabled = true }, | ||
--# Increased Stack size | ||
["workshop-374550642"] = { enabled = true }, | ||
--# Combined Status | ||
["workshop-376333686"] = { enabled = true }, | ||
--# Global Positions | ||
["workshop-378160973"] = { enabled = true }, | ||
--# Demon sword Muramasa | ||
["workshop-1842087172"] = { enabled = true }, | ||
--# Health Info | ||
["workshop-375859599"] = { enabled = true }, | ||
--# Show Me | ||
["workshop-2287303119"] = { enabled = true }, | ||
--# No Thermal Stone Durability | ||
["workshop-466732225"] = { enabled = true }, | ||
--# Extra Equip Slots | ||
["workshop-375850593"] = { enabled = true }, | ||
--# Display Attack Range | ||
["workshop-2078243581"] = { enabled = true }, | ||
--# Increased Stack size | ||
["workshop-374550642"] = { enabled = true }, | ||
--# Combined Status | ||
["workshop-376333686"] = { enabled = true }, | ||
--# Global Positions | ||
["workshop-378160973"] = { enabled = true }, | ||
--# Demon sword Muramasa | ||
["workshop-1842087172"] = { enabled = true }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
config, | ||
pkgs, | ||
... | ||
}: | ||
{ | ||
# services.nginx.virtualHosts."pb.*" = { | ||
# forceSSL = true; | ||
# inherit (config.security.acme.tfCerts."li7g_com".nginxSettings) sslCertificate sslCertificateKey; | ||
# locations."/" = { | ||
# proxyPass = "http://127.0.0.1:${toString config.ports.pastebin}"; | ||
# extraConfig = '' | ||
# add_header Cache-Control "public, no-cache"; | ||
# ''; | ||
# }; | ||
# extraConfig = '' | ||
# client_max_body_size 25M; | ||
# ''; | ||
# }; | ||
systemd.services.pastebin = { | ||
script = '' | ||
# export AWS_ACCESS_KEY_ID=$(cat "$CREDENTIALS_DIRECTORY/key-id") | ||
# export AWS_SECRET_ACCESS_KEY=$(cat "$CREDENTIALS_DIRECTORY/access-key") | ||
${pkgs.pastebin}/bin/pastebin \ | ||
# --endpoint-host minio.li7g.com \ | ||
# --bucket pastebin \ | ||
--addressing-style path \ | ||
--port "${toString config.ports.pastebin}" | ||
''; | ||
serviceConfig = { | ||
DynamicUser = true; | ||
# LoadCredential = [ | ||
# "key-id:${config.sops.secrets."minio_pastebin_key_id".path}" | ||
# "access-key:${config.sops.secrets."minio_pastebin_access_key".path}" | ||
# ]; | ||
}; | ||
wantedBy = [ "multi-user.target" ]; | ||
}; | ||
services.traefik.dynamicConfigOptions.http = { | ||
routers = { | ||
atuin = { | ||
rule = "Host(`pb.${config.networking.domain}`)"; | ||
entryPoints = [ "https" ]; | ||
service = "pastebin"; | ||
}; | ||
}; | ||
services = { | ||
pastebin.loadBalancer = { | ||
passHostHeader = true; | ||
servers = [ { url = "http://localhost:${toString config.ports.pastebin}"; } ]; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters