Merge pull request 'update homepage for matrix' (#9) from dns into main
All checks were successful
build / test (push) Successful in 7s

Reviewed-on: #9
This commit is contained in:
Mic92 2023-07-13 17:15:28 +00:00
commit 04668aa39a
4 changed files with 15 additions and 9 deletions

View File

@ -50,11 +50,11 @@
]
},
"locked": {
"lastModified": 1689077593,
"narHash": "sha256-3qOgpWNhXy4P83b2NHbRX2SLpqEx/vDAM0Myb0iT2+w=",
"lastModified": 1689268066,
"narHash": "sha256-WyQEy6BB33liJy2BbTTCfmYVw3Ai/LxbOua2fM2Eyw4=",
"ref": "refs/heads/main",
"rev": "b1573761fd03b6d6ae2170211953e08a2f430b8c",
"revCount": 14,
"rev": "72d688391adaddad89bacbd2e6d373cbed5ff13f",
"revCount": 16,
"type": "git",
"url": "https://git.clan.lol/clan/clan-homepage"
},

View File

@ -70,6 +70,7 @@
]))
];
};
homepage = inputs'.homepage.packages.default;
} // lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
gitea = pkgs.callPackage ./pkgs/gitea { };
};

View File

@ -28,6 +28,11 @@ in
# $ nix-shell -p dendrite --run 'generate-keys --private-key /tmp/key'
sops.secrets.matrix-server-key = { };
# $ echo "REGISTRATION_SHARED_SECRET=$(openssl rand -base64 32)"
# To create a user:
# $ password=$(nix run "nixpkgs#xkcdpass" -- -n 3 -d-)
# $ shared_secret=$(sops -d --extract '["registration-secret"]' ./secrets.yaml| sed s/REGISTRATION_SHARED_SECRET=//)
# $ nix shell "nixpkgs#matrix-synapse" -c register_new_matrix_user --password "${password}" --shared-secret "${shared_secret}" "https://matrix.clan.lol:443"
sops.secrets.registration-secret = { };
services.dendrite = {

File diff suppressed because one or more lines are too long