diff --git a/flake.nix b/flake.nix index a5905f0..e948c40 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,8 @@ }: with lib; let cfg = config.sites.zoeycomputer; + + working_directory = "/var/lib/zoeycomputer"; in { options.sites.zoeycomputer = { enable = mkEnableOption "Enables the zoey computer"; @@ -181,7 +183,6 @@ systemd.services."zoeyscomputer-phx" = let release_name = "zoeyscomputer"; - working_directory = "/var/lib/zoeycomputer"; in { wantedBy = ["multi-user.target"]; after = ["network.target" "postgresql.service" "init-zoeyscomputer-db.service"];