mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-22 14:44:14 -05:00
enable backups for lubelogger
This commit is contained in:
parent
7842b4c987
commit
31d0228cb8
1 changed files with 15 additions and 0 deletions
|
|
@ -16,10 +16,25 @@ in
|
|||
# Service #
|
||||
###########
|
||||
|
||||
services.restic.backups.bar-assistant = {
|
||||
user = "root";
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
Persistent = true;
|
||||
};
|
||||
paths = [
|
||||
"${volumePath}/lubelogger"
|
||||
];
|
||||
repositoryFile = config.sops.secrets."restic/url".path;
|
||||
passwordFile = config.sops.secrets."restic/key".path;
|
||||
};
|
||||
|
||||
sops = {
|
||||
secrets = {
|
||||
"lubelogger/user_hash" = {};
|
||||
"lubelogger/pass_hash" = {};
|
||||
"restic/url" = {};
|
||||
"restic/key" = {};
|
||||
};
|
||||
templates."lubelogger-env".content = ''
|
||||
LC_ALL=en_US.UTF-8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue