made a string

This commit is contained in:
Richie Cahill 2024-05-28 19:36:53 -04:00 committed by Alice Huston
parent 53d3205238
commit 1badf77912

View File

@ -115,8 +115,8 @@
autoScrub.enable = true;
};
};
systemd.services.snapshot_manager = {
systemd = {
services."snapshot_manager" = {
description = "ZFS Snapshot Manager";
requires = [ "zfs-import.target" ];
after = [ "zfs-import.target" ];
@ -125,7 +125,7 @@
ExecStart = "${pkgs.python3}/bin/python -m zfs.snapshot_manager --config-file='/ZFS/Media/Scripts/new/config.toml'";
};
};
systemd.timers.snapshot_manager = {
timers."snapshot_manager" = {
description = "ZFS Snapshot Manager";
service = "snapshot_manager";
timerConfig = {
@ -134,6 +134,7 @@
Unit = "snapshot_manager.service";
};
};
};
system.stateVersion = "23.11";
}