alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
machines prism: add borgbackup facts
author
lassulus
date
2 years ago
(Apr 17, 2024, 8:46 PM CEST)
commit
c7ce40d1
c7ce40d16807cb3172a7b17ef98d1ca4bdbdfd27
parent
469da212
469da21204b24a882f37903c0381466057716252
+14
2 changed files
Expand all
Collapse all
Unified
Split
machines
prism
backup.nix
facts
borgbackup.ssh.id25519.pub
+13
machines/prism/backup.nix
View file
Reviewed
···
4
4
5
5
systemd.services.borgbackup-job-hetzner.serviceConfig.ReadWritePaths = [ "/var/log/telegraf" ];
6
6
7
7
+
clanCore.facts.services.borgbackup = {
8
8
+
secret."borgbackup.ssh.id25519" = {};
9
9
+
public."borgbackup.ssh.id25519.pub" = {};
10
10
+
generator.path = [
11
11
+
pkgs.coreutils
12
12
+
pkgs.openssh
13
13
+
];
14
14
+
generator.script = ''
15
15
+
ssh-keygen -t ed25519 -N "" -f $secrets/borgbackup.ssh.id25519
16
16
+
mv $secrets/borgbackup.ssh.id25519.pub $facts/borgbackup.ssh.id25519.pub
17
17
+
'';
18
18
+
};
19
19
+
7
20
services.borgbackup.jobs.hetzner = {
8
21
paths = [
9
22
"/var/backup"
+1
machines/prism/facts/borgbackup.ssh.id25519.pub
View file
Reviewed
···
1
1
+
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII8LnVQBZP2KOmNaJCkTltzOVix9qZ8FXHZCKt52Wgph lass@aergia