From b2e40e5e0d7b02c62764a53b8e52f2c98c5379b1 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 16 Feb 2024 20:27:04 +0100 Subject: Back up user data on new machines --- tw/system/files/restic/timo-battleship.enc | 7 +++++++ tw/system/files/restic/timo-framework.enc | 7 +++++++ tw/system/vin.scm | 10 ++++++++++ 3 files changed, 24 insertions(+) create mode 100644 tw/system/files/restic/timo-battleship.enc create mode 100644 tw/system/files/restic/timo-framework.enc (limited to 'tw/system') diff --git a/tw/system/files/restic/timo-battleship.enc b/tw/system/files/restic/timo-battleship.enc new file mode 100644 index 00000000..1b0af3a8 --- /dev/null +++ b/tw/system/files/restic/timo-battleship.enc @@ -0,0 +1,7 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IC9TV0hVQSBhdEJp +UGwzaEtxY2hRa1BvUlRXNlhkUTdoWUtCd1FmS3hLc2h6akdVeVNRCk5FZ3k5RXBz +NTVrSXlqS0R2UTlFSkZOUDJITzV2cWs4VkY0THJVYi93U3cKLS0tIGxMYkp2QXRX +bzluaS9KdGYyR2dkUDd4ZUs4WUVYRWM5Z05aZE1ITmh1Q2sK4zhaVGwD9zI0TMqv +fIBZhC9Q3dSShTJ/+9SkOHyQ/q3FHEUW0QM0LjYSY+a5p9tH/Q== +-----END AGE ENCRYPTED FILE----- diff --git a/tw/system/files/restic/timo-framework.enc b/tw/system/files/restic/timo-framework.enc new file mode 100644 index 00000000..8cbadd79 --- /dev/null +++ b/tw/system/files/restic/timo-framework.enc @@ -0,0 +1,7 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IC9TV0hVQSBUMXhZ +TGdWZ2pIUUNoOVdtWm5FZHlyZXM1YnF5Vm9VRlc0K1hDT01Ec0Y0CjlabWN5d2RU +YSszVmcrTmd0OVJpUnQxT3hZR0c2cDVjaUQrdXpvYjNIS2MKLS0tIGZDSU5LYjhD +VHd2VTRpbEMyS1UzSkdtU242dVkyVFNES2xtU1VGWUwrKzQKLoMHOInpU39XVnx6 +5LlhryN+Yvm3r1ZMcn9vQLfq/jyFxzW/lP3AKygBSuU6l4bHRA== +-----END AGE ENCRYPTED FILE----- diff --git a/tw/system/vin.scm b/tw/system/vin.scm index d3567f91..dc5bc756 100644 --- a/tw/system/vin.scm +++ b/tw/system/vin.scm @@ -149,6 +149,16 @@ (destination "/etc/restic/timo-laptop") (user "restic") (group "restic")) + (secret + (encrypted-file (local-file "files/restic/timo-framework.enc")) + (destination "/etc/restic/timo-framework") + (user "restic") + (group "restic")) + (secret + (encrypted-file (local-file "files/restic/timo-battleship.enc")) + (destination "/etc/restic/timo-battleship") + (user "restic") + (group "restic")) (secret (encrypted-file (local-file "files/restic/timo-phone.enc")) (destination "/etc/restic/timo-phone") -- cgit v1.2.3