22 current 2025-10-07 14:48:41 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# flake for blakes nixos config
|
||||
# define new devices in outputs
|
||||
# generation: 21 current 2025-10-07 14:43:59 25.05.20251001.5b5be50 6.12.49 *
|
||||
# generation: 22 current 2025-10-07 14:48:41 25.05.20251001.5b5be50 6.12.49 *
|
||||
{
|
||||
description = "blakes nix config";
|
||||
inputs = {
|
||||
|
||||
@@ -28,7 +28,7 @@ in
|
||||
|
||||
config = lib.mkIf (backup_paths != []) {
|
||||
systemd.services.backups = {
|
||||
description = "BorgBackup service for system data";
|
||||
description = "backup service with borg!";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
EnvironmentFile = config.modules.system.backups.passphraseFile;
|
||||
@@ -68,7 +68,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
systemd.timers.borg-backup = {
|
||||
systemd.timers.backups = {
|
||||
description = "daily borg backup timer";
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
|
||||
Reference in New Issue
Block a user