added media_scripts var

This commit is contained in:
Richie Cahill
2024-06-27 22:06:14 -04:00
parent 2efd0c24ad
commit 4eebb57a4b
2 changed files with 2 additions and 1 deletions

View File

@ -135,7 +135,7 @@ in
serviceConfig = {
Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs";
Type = "oneshot";
ExecStart = "${pkgs.python3}/bin/python3 /zfs/media/scripts/ZFS/snapshot_manager.py --config-file='/root/nix-dotfiles/systems/jeeves/snapshot_config.toml'";
ExecStart = "${pkgs.python3}/bin/python3 ${vars.media_scripts}/ZFS/snapshot_manager.py --config-file='/root/nix-dotfiles/systems/jeeves/snapshot_config.toml'";
};
};
timers."snapshot_manager" = {