add new secret
This commit is contained in:
parent
7ba6caf5a1
commit
2a5897afa1
3 changed files with 9 additions and 8 deletions
|
@ -1,17 +1,17 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"www.nixfox.ca" = {
|
|
||||||
enableACME = true;
|
|
||||||
addSSL = true;
|
|
||||||
default = true;
|
|
||||||
root = "/var/www/landing-page";
|
|
||||||
};
|
|
||||||
"nixfox.ca" = {
|
"nixfox.ca" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
globalRedirect = "www.nixfox.ca";
|
|
||||||
|
root = "/var/www/nixfox-reborn/public";
|
||||||
|
|
||||||
locations = {
|
locations = {
|
||||||
|
"/".extraConfig = ''
|
||||||
|
error_page 404 /404.html;
|
||||||
|
'';
|
||||||
|
|
||||||
"/.well-known/matrix/client".extraConfig = ''
|
"/.well-known/matrix/client".extraConfig = ''
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
return 200 '{
|
return 200 '{
|
||||||
|
@ -19,6 +19,7 @@
|
||||||
"m.identity_server": { "base_url": "https://matrix.org" }
|
"m.identity_server": { "base_url": "https://matrix.org" }
|
||||||
}';
|
}';
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"/.well-known/matrix/server".extraConfig = ''
|
"/.well-known/matrix/server".extraConfig = ''
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
return 200 '{ "m.server": "matrix.nixfox.ca:443" }';
|
return 200 '{ "m.server": "matrix.nixfox.ca:443" }';
|
||||||
|
|
BIN
modules/system/secrets/bun-pgp-secret.asc
Normal file
BIN
modules/system/secrets/bun-pgp-secret.asc
Normal file
Binary file not shown.
|
@ -11,7 +11,7 @@
|
||||||
../../../../hosts/jupiter/id_ed25519.pub
|
../../../../hosts/jupiter/id_ed25519.pub
|
||||||
];
|
];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN3B9Uf3h5JiD2HjF/vQ5Zx9pibMgRrlf7ZoBktev9eB Warden"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE17CtOBL2xR7xelq2HjAqESJVhNtKQe9ZCECKVx0LSO Warden2"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJahAoF74BY6GCTsFkt1ADKaraFgJJozW1Y1aBTLK0j9 Pixel9"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJahAoF74BY6GCTsFkt1ADKaraFgJJozW1Y1aBTLK0j9 Pixel9"
|
||||||
];
|
];
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue