Add bluesky

This commit is contained in:
batteredbunny 2024-11-01 19:29:28 +02:00
parent 873ed3b784
commit 0997a1dfe0
4 changed files with 22 additions and 7 deletions

View file

@ -26,6 +26,12 @@ in
enable = true;
email = "ssl@catnip.ee";
virtualHosts = {
"bsky.ee" = {
extraConfig = ''
reverse_proxy :${toString config.services.pds.port}
'';
serverAliases = [ "*.bsky.ee" ];
};
"fedi.catnip.ee".extraConfig = ''
handle_path /system/* {
file_server * {

View file

@ -195,6 +195,14 @@
};
services = {
pds = {
enable = true;
environmentFiles = [
"/etc/secrets/bluesky.env"
];
port = 3001;
hostname = "bsky.ee";
};
borgbackup.jobs."borgbase" = {
paths = [
# maybe only include /var/lib?

12
flake.lock generated
View file

@ -269,16 +269,16 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1730200266,
"narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=",
"owner": "Nixos",
"lastModified": 1730485731,
"narHash": "sha256-tJQb3wfR16E9kLqX6ERFbC5PupBS8STqhHS4iiqU/Sw=",
"owner": "t4ccer",
"repo": "nixpkgs",
"rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd",
"rev": "4065add8667f3497d80a75ac9dcab0b5d3ad9c39",
"type": "github"
},
"original": {
"owner": "Nixos",
"ref": "nixos-unstable",
"owner": "t4ccer",
"ref": "t4/pbs/init-0-4-59",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -1,6 +1,7 @@
{
inputs = {
nixpkgs.url = "github:Nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:t4ccer/nixpkgs/t4/pbs/init-0-4-59";
# nixpkgs.url = "github:Nixos/nixpkgs/nixos-unstable";
lastfm-status.url = "github:BatteredBunny/lastfm-status";
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
catnip-website = {