converted to nix managed paths

This commit is contained in:
Richie Cahill 2024-07-03 17:25:03 -04:00
parent 9c887e0249
commit 68da465b55
3 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ in
serviceConfig = { serviceConfig = {
Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs"; Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs";
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.python3}/bin/python3 ${vars.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='${./snapshot_config.toml}'";
}; };
}; };
timers."snapshot_manager" = { timers."snapshot_manager" = {

View File

@ -38,7 +38,7 @@ in
}; };
volumes = [ volumes = [
"${config.sops.secrets."docker/haproxy_cert".path}:/etc/ssl/certs/cloudflare.pem" "${config.sops.secrets."docker/haproxy_cert".path}:/etc/ssl/certs/cloudflare.pem"
"/root/nix-dotfiles/systems/jeeves/docker/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg" "${./haproxy.cfg}:/usr/local/etc/haproxy/haproxy.cfg"
]; ];
dependsOn = [ dependsOn = [
"arch_mirror" "arch_mirror"

View File

@ -5,7 +5,7 @@
description = "maintains /zfs/storage/plex permissions"; description = "maintains /zfs/storage/plex permissions";
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.bash}/bin/bash /root/nix-dotfiles/systems/jeeves/scripts/plex_permission.sh"; ExecStart = "${pkgs.bash}/bin/bash ${./scripts/plex_permission.sh}";
}; };
}; };
timers."plex_permission" = { timers."plex_permission" = {