Deploy as jankremer.de to nimbus (Oracle)

This commit is contained in:
Jan Kremer 2026-03-26 19:11:05 +01:00
parent 3a35b1dae7
commit aca3387492
No known key found for this signature in database
8 changed files with 22 additions and 16 deletions

View file

@ -1,7 +1,7 @@
# Webseite von Jan Kremer # Webseite von Jan Kremer
[Webseite](https://jankremer.eu) [Webseite](https://jankremer.de)
## Lizenz ## Lizenz
CC0 1.0 | Jan Kremer | 20212025 CC0 1.0 | Jan Kremer | 20212026

View file

@ -10,4 +10,4 @@ Wenn ich nicht gerade lerne, mache ich gerne Sport, vor allem Joggen, Kraftsport
## Kontakt ## Kontakt
[mail@jankremer.eu](mailto:mail@jankremer.eu) [mail@jankremer.de](mailto:mail@jankremer.de)

View file

@ -0,0 +1,8 @@
+++
title = "Still self hosting"
date = 2025-04-14
description = "Guess who's back"
tags = [ "selbsthosting", "nixos", "git" ]
+++
About a year ago I wrote a post about my self hosting journey which ended with me shutting down my server

View file

@ -17,9 +17,9 @@ bc1qf8qjt4gut2la8k4v3emfv7wrj6f3pfcjrj3slplnwrldkz7hqmaqaju7ym
## OpenAlias ## OpenAlias
```txt ```txt
jankremer.eu jankremer.de
``` ```
```txt ```txt
btc.jankremer.eu btc.jankremer.de
``` ```

View file

@ -17,5 +17,5 @@ tags = [ "crypto" ]
## ENS ## ENS
```txt ```txt
jankremer.eu jankremer.de
``` ```

View file

@ -17,9 +17,9 @@ tags = [ "crypto" ]
## OpenAlias ## OpenAlias
```txt ```txt
jankremer.eu jankremer.de
``` ```
```txt ```txt
xmr.jankremer.eu xmr.jankremer.de
``` ```

View file

@ -42,8 +42,8 @@
default = { default = {
type = "app"; type = "app";
meta = { meta = {
description = "Build my blog"; description = "Build website";
homepage = "https://jankremer.eu"; homepage = "https://jankremer.de";
license = nixpkgs.lib.licenses.cc0; license = nixpkgs.lib.licenses.cc0;
}; };
program = program =
@ -55,17 +55,15 @@
deploy = { deploy = {
type = "app"; type = "app";
meta = { meta = {
description = "Deploy to Codeberg"; description = "Deploy to nimbus (Oracle)";
homepage = "https://kremer.codeberg.page"; homepage = "https://jankremer.de";
license = nixpkgs.lib.licenses.cc0; license = nixpkgs.lib.licenses.cc0;
}; };
program = program =
(pkgs.writeShellScript "deploy-website" '' (pkgs.writeShellScript "deploy-website" ''
set -e set -e
${pkgs.zola}/bin/zola build --minify ${pkgs.zola}/bin/zola build --minify
cd public ${pkgs.rsync}/bin/rsync -avP --delete public/ jan@jankremer.de:/var/www/jankremer.de/
git commit --all -m "Deploy"
git push
'').outPath; '').outPath;
}; };
}); });

View file

@ -1,5 +1,5 @@
# The URL the site will be built for # The URL the site will be built for
base_url = "https://jankremer.eu" base_url = "https://jankremer.de"
title = "Jan Kremer" title = "Jan Kremer"
description = "Blog von Jan Kremer" description = "Blog von Jan Kremer"