Skip to content

Commit

Permalink
add: matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Sep 21, 2024
1 parent 7efc1b0 commit 7580bc1
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 26 deletions.
1 change: 1 addition & 0 deletions nixos/hosts/fra1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
nixosModules.services.doraim
nixosModules.services.ntfy
nixosModules.services.sogo
nixosModules.services.matrix
(import nixosModules.services.keycloak { })
(import nixosModules.services.vaultwarden { })
(import nixosModules.services.alist { })
Expand Down
8 changes: 4 additions & 4 deletions nixos/hosts/isk/_steam/dst/Caves/worldgenoverride.lua
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 = {},
}
4 changes: 2 additions & 2 deletions nixos/hosts/isk/_steam/dst/Master/worldgenoverride.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
return {
override_enabled = true,
overrides = {},
override_enabled = true,
overrides = {},
}
36 changes: 18 additions & 18 deletions nixos/hosts/isk/_steam/dst/modoverrides.lua
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 },
}
4 changes: 2 additions & 2 deletions nixos/modules/services/matrix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ lib.mkMerge [
service = "element";
};
matrix-admin = {
rule = "Host(`m-admin.dora.im`)";
rule = "Host(`admin.m.dora.im`)";
entryPoints = [ "https" ];
service = "matrix-admin";
};
Expand Down Expand Up @@ -261,7 +261,7 @@ lib.mkMerge [
root = element-web-config;
};
};
virtualHosts."m-admin.*" = {
virtualHosts."admin.m.*" = {
locations."/" = {
root = pkgs.synapse-admin;
};
Expand Down
2 changes: 2 additions & 0 deletions terraform/cloudflare.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ locals {
atuin = { on = "fra1", proxy = false }
ntfy = { on = "fra1", proxy = false }
mail = { on = "fra1", proxy = false }
m = { on = "fra1", proxy = false }
admin.m = { on = "fra1", proxy = false }
searx = { on = "hkg4", proxy = false }
morty = { on = "hkg4", proxy = false }
}
Expand Down

0 comments on commit 7580bc1

Please sign in to comment.