Merge pull request 'update homepage for matrix' (#9) from dns into main
All checks were successful
build / test (push) Successful in 7s
All checks were successful
build / test (push) Successful in 7s
Reviewed-on: #9
This commit is contained in:
commit
04668aa39a
|
@ -50,11 +50,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689077593,
|
"lastModified": 1689268066,
|
||||||
"narHash": "sha256-3qOgpWNhXy4P83b2NHbRX2SLpqEx/vDAM0Myb0iT2+w=",
|
"narHash": "sha256-WyQEy6BB33liJy2BbTTCfmYVw3Ai/LxbOua2fM2Eyw4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "b1573761fd03b6d6ae2170211953e08a2f430b8c",
|
"rev": "72d688391adaddad89bacbd2e6d373cbed5ff13f",
|
||||||
"revCount": 14,
|
"revCount": 16,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.clan.lol/clan/clan-homepage"
|
"url": "https://git.clan.lol/clan/clan-homepage"
|
||||||
},
|
},
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
homepage = inputs'.homepage.packages.default;
|
||||||
} // lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
} // lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
||||||
gitea = pkgs.callPackage ./pkgs/gitea { };
|
gitea = pkgs.callPackage ./pkgs/gitea { };
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,11 @@ in
|
||||||
# $ nix-shell -p dendrite --run 'generate-keys --private-key /tmp/key'
|
# $ nix-shell -p dendrite --run 'generate-keys --private-key /tmp/key'
|
||||||
sops.secrets.matrix-server-key = { };
|
sops.secrets.matrix-server-key = { };
|
||||||
# $ echo "REGISTRATION_SHARED_SECRET=$(openssl rand -base64 32)"
|
# $ 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 = { };
|
sops.secrets.registration-secret = { };
|
||||||
|
|
||||||
services.dendrite = {
|
services.dendrite = {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user