From f8976807755f2ac7d288eae2a523ab8034afbf81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Fri, 29 Mar 2024 01:08:21 -0300 Subject: [PATCH] secrets: rename ghost secrets to phantom --- hosts/phantom/nextcloud.nix | 6 +++--- hosts/phantom/renawiki.nix | 6 +++--- hosts/phantom/writefreely.nix | 6 +++--- .../{ghost-nextcloud.age => phantom-nextcloud.age} | 0 .../{ghost-renawiki.age => phantom-renawiki.age} | 0 ...host-writefreely.age => phantom-writefreely.age} | Bin secrets/secrets.nix | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) rename secrets/{ghost-nextcloud.age => phantom-nextcloud.age} (100%) rename secrets/{ghost-renawiki.age => phantom-renawiki.age} (100%) rename secrets/{ghost-writefreely.age => phantom-writefreely.age} (100%) diff --git a/hosts/phantom/nextcloud.nix b/hosts/phantom/nextcloud.nix index db6b04c..52421f2 100644 --- a/hosts/phantom/nextcloud.nix +++ b/hosts/phantom/nextcloud.nix @@ -5,13 +5,13 @@ hostName = "cloud.lelgenio.xyz"; https = true; config = { - adminpassFile = config.age.secrets.ghost-nextcloud.path; + adminpassFile = config.age.secrets.phantom-nextcloud.path; }; }; age = { - secrets.ghost-nextcloud = { - file = ../../secrets/ghost-nextcloud.age; + secrets.phantom-nextcloud = { + file = ../../secrets/phantom-nextcloud.age; mode = "400"; owner = "nextcloud"; group = "nextcloud"; diff --git a/hosts/phantom/renawiki.nix b/hosts/phantom/renawiki.nix index 009e06e..5b21907 100644 --- a/hosts/phantom/renawiki.nix +++ b/hosts/phantom/renawiki.nix @@ -5,7 +5,7 @@ webserver = "nginx"; nginx.hostName = "renawiki.lelgenio.xyz"; - passwordFile = config.age.secrets.ghost-renawiki.path; + passwordFile = config.age.secrets.phantom-renawiki.path; extensions.VisualEditor = null; }; @@ -14,8 +14,8 @@ forceSSL = true; }; - age.secrets.ghost-renawiki = { - file = ../../secrets/ghost-renawiki.age; + age.secrets.phantom-renawiki = { + file = ../../secrets/phantom-renawiki.age; mode = "400"; owner = "mediawiki"; }; diff --git a/hosts/phantom/writefreely.nix b/hosts/phantom/writefreely.nix index b5cee3b..6a2652e 100644 --- a/hosts/phantom/writefreely.nix +++ b/hosts/phantom/writefreely.nix @@ -6,7 +6,7 @@ nginx.forceSSL = true; host = "blog.lelgenio.xyz"; admin.name = "lelgenio"; - admin.initialPasswordFile = config.age.secrets.ghost-writefreely.path; + admin.initialPasswordFile = config.age.secrets.phantom-writefreely.path; settings.app = { site_name = "Leo's blog"; single_user = true; @@ -14,8 +14,8 @@ }; age = { - secrets.ghost-writefreely = { - file = ../../secrets/ghost-writefreely.age; + secrets.phantom-writefreely = { + file = ../../secrets/phantom-writefreely.age; mode = "400"; owner = "writefreely"; group = "writefreely"; diff --git a/secrets/ghost-nextcloud.age b/secrets/phantom-nextcloud.age similarity index 100% rename from secrets/ghost-nextcloud.age rename to secrets/phantom-nextcloud.age diff --git a/secrets/ghost-renawiki.age b/secrets/phantom-renawiki.age similarity index 100% rename from secrets/ghost-renawiki.age rename to secrets/phantom-renawiki.age diff --git a/secrets/ghost-writefreely.age b/secrets/phantom-writefreely.age similarity index 100% rename from secrets/ghost-writefreely.age rename to secrets/phantom-writefreely.age diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 01af754..9bc7c27 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -7,7 +7,7 @@ in "gitlab-runner-thoreb-telemetria-registrationConfigFile.age".publicKeys = [ main_ssh_public_key ]; "lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ]; "monolith-nix-serve-privkey.age".publicKeys = [ main_ssh_public_key ]; - "ghost-nextcloud.age".publicKeys = [ main_ssh_public_key ]; - "ghost-writefreely.age".publicKeys = [ main_ssh_public_key ]; - "ghost-renawiki.age".publicKeys = [ main_ssh_public_key ]; + "phantom-nextcloud.age".publicKeys = [ main_ssh_public_key ]; + "phantom-writefreely.age".publicKeys = [ main_ssh_public_key ]; + "phantom-renawiki.age".publicKeys = [ main_ssh_public_key ]; }