chore: add blog

This commit is contained in:
Philipp Hochkamp 2022-06-15 19:13:44 +02:00
parent aa1c642ec9
commit 51f9675843
4 changed files with 28 additions and 41 deletions

View file

@ -9,6 +9,7 @@
[
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.xynoblog.nixosModule
];
documentation.enable = false;
@ -48,7 +49,7 @@
services.nginx.virtualHosts."xyno.space" = {
enableACME = true;
forceSSL = true;
root = ./xynospace;
locations."/".proxyPass = "http://[::1]${config.services.xynoblog.listen}";
};
services.restic.backups."picard" = {
@ -83,16 +84,17 @@
enable = true;
script = "${pkgs.curl}/bin/curl -fss -m 10 --retry 5 -o /dev/null $(cat ${config.age.secrets.picardResticHealthCheckUrl.path})/fail";
};
services.xynoblog.enable = true;
ragon = {
cli.enable = true;
user.enable = true;
persist.enable = true;
persist.extraDirectories = [ "/var/lib/syncthing" ];
persist.extraDirectories = [ "/var/lib/syncthing" "/var/lib/${config.services.xynoblog.stateDirectory}" ];
services = {
ssh.enable = true;
bitwarden.enable = true;
gitlab.enable = true; # TODO gitlab-runner
gitlab.enable = false; # TODO gitlab-runner
synapse.enable = true;
tailscale.enable = true;
hedgedoc.enable = true;

View file

@ -1,38 +0,0 @@
<!doctype html>
<html>
<head>
<title>xynos space</title>
<meta name="description" content="Links to xynos profiles">
<style>
body {
text-align: center;
background-color: #282828;
color: #ebdbb2;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
a:link {
color: #fbf1c7;
text-decoration: none;
}
a:visited {
color: #c5c4a1;
text-decoration: none;
}
</style>
</head>
<body>
<h1>xynos space</h1>
<br>
<br>
<br>
<h3>links:</h3>
<br>
<a target="_blank" href="https://github.com/thexyno">GitHub - thexyno</a>
<br>
<br>
<a rel="me" target="_blank" href="https://matrix.to/#/@me:ragon.xyz">Matrix - @me:ragon.xyz</a>
<br>
<br>
<a rel="me" target="_blank" href="https://chaos.social/@xyno">Mastodon - @xyno@chaos.social</a>
</body>
</html>