diff --git a/systems/jeeves/configuration.nix b/systems/jeeves/configuration.nix index 0d462c5..6a6dc8c 100644 --- a/systems/jeeves/configuration.nix +++ b/systems/jeeves/configuration.nix @@ -135,7 +135,7 @@ in serviceConfig = { Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs"; 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" = { diff --git a/systems/jeeves/docker/web.nix b/systems/jeeves/docker/web.nix index abb6a3a..257179a 100644 --- a/systems/jeeves/docker/web.nix +++ b/systems/jeeves/docker/web.nix @@ -38,7 +38,7 @@ in }; volumes = [ "${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 = [ "arch_mirror" diff --git a/systems/jeeves/services.nix b/systems/jeeves/services.nix index dbb8715..3045501 100644 --- a/systems/jeeves/services.nix +++ b/systems/jeeves/services.nix @@ -5,7 +5,7 @@ description = "maintains /zfs/storage/plex permissions"; serviceConfig = { 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" = {