.
This commit is contained in:
parent
96573664a6
commit
4663084e7a
76 changed files with 11180 additions and 519 deletions
40
content/posts/restic-nixos-hetzner.md
Normal file
40
content/posts/restic-nixos-hetzner.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
title: Backing up nixos state with restic
|
||||
date: 2026-02-16
|
||||
tags:
|
||||
- nixos
|
||||
- restic
|
||||
draft: true
|
||||
---
|
||||
|
||||
I'm writing this so I can hopefully remember what I did in six months.
|
||||
|
||||
As hard as you try to eliminate all state from your computing life with nixos, the fact remains that you can't get rid of all of it.
|
||||
For example, I run forgejo on my VPS.
|
||||
Now I have my config which means I could set up a forgejo instance just how I like it if everything went to pot.
|
||||
But that wouldn't bring back any of the repos I had there previously.
|
||||
|
||||
This is the method I cooked up for backing up some of those important bits and bob on my VPS.
|
||||
|
||||
```nix
|
||||
{ config, ... }: {
|
||||
services.restic = {
|
||||
backups."hetzner-storage-box" = {
|
||||
initialize = true;
|
||||
user = "root";
|
||||
passwordFile = "/etc/nixos/secrets/restic";
|
||||
paths = [
|
||||
"${config.services.forgejo.stateDir}"
|
||||
];
|
||||
repository = "sftp:user@storagebox:/remotelab";
|
||||
extraOptions = [
|
||||
"sftp.command='ssh user@storagebox -i /root/.ssh/id_ed25519 -s sftp'"
|
||||
];
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
8
content/posts/template.md
Normal file
8
content/posts/template.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: placeholder
|
||||
date: 2023-03-13
|
||||
tags:
|
||||
- thing
|
||||
- wotsit
|
||||
draft: true
|
||||
---
|
||||
32
content/posts/wuthering-heights.md
Normal file
32
content/posts/wuthering-heights.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: 'Wuthering Heights (2026)'
|
||||
date: 2026-02-13
|
||||
tags:
|
||||
- film
|
||||
draft: false
|
||||
---
|
||||
|
||||
### Things I enjoyed
|
||||
|
||||
- Though not particularly 'dark skinned', Jacob Elordi is well suited to the role of surly sweaty gigahunk.
|
||||
- An unashamed fanfic quality which I found amusing.
|
||||
It honestly felt as if it had been dreamt up by a horny teenager on tumblr at points.
|
||||
|
||||
### Things I didn't enjoy
|
||||
|
||||
- The whole thing had a music video gloss which made the landscape feel incidental.
|
||||
It felt like a set not something the characters actually inahbited.
|
||||
Even when they were banging on the moors they didn't seem to get muddy.
|
||||
This was a problem for me.
|
||||
- Fundamentally, once you got past the visual glitz and knowingly executed tropes it felt completely emotionally empty.
|
||||
Given that it's a film about the enduring power of passionate undying love this was also a major problem.
|
||||
|
||||
### Things that intrigued me
|
||||
|
||||
- Jacob Elordi doing the same accent as Christian Bale in The Prestige.
|
||||
|
||||
### Verdict
|
||||
|
||||
48 heaving bosoms out of 100
|
||||
|
||||

|
||||
Loading…
Add table
Add a link
Reference in a new issue