diff --git a/flake.lock b/flake.lock
index 42819d0..8bad5d8 100644
--- a/flake.lock
+++ b/flake.lock
@@ -111,9 +111,10 @@
         "type": "github"
       },
       "original": {
-        "id": "hercules-ci-agent",
+        "owner": "hercules-ci",
         "ref": "master",
-        "type": "indirect"
+        "repo": "hercules-ci-agent",
+        "type": "github"
       }
     },
     "hercules-ci-effects": {
@@ -414,22 +415,6 @@
         "type": "github"
       }
     },
-    "nixpkgs_6": {
-      "locked": {
-        "lastModified": 1664028844,
-        "narHash": "sha256-wwGqnvROHW54ma0h4q6GL5toKxTVVKvAypv0CcJkraU=",
-        "owner": "NixOS",
-        "repo": "nixpkgs",
-        "rev": "72bdd03f0d5696412b25a93218acaad530570d30",
-        "type": "github"
-      },
-      "original": {
-        "owner": "NixOS",
-        "ref": "nixpkgs-unstable",
-        "repo": "nixpkgs",
-        "type": "github"
-      }
-    },
     "pre-commit-hooks-nix": {
       "inputs": {
         "flake-utils": "flake-utils",
@@ -469,7 +454,9 @@
     },
     "sops-nix": {
       "inputs": {
-        "nixpkgs": "nixpkgs_6",
+        "nixpkgs": [
+          "nixpkgs"
+        ],
         "nixpkgs-22_05": "nixpkgs-22_05"
       },
       "locked": {
diff --git a/flake.nix b/flake.nix
index 49fad29..f4934cb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,8 +18,9 @@
     nixpkgs-update-pypi-releases.url = "github:ryantm/nixpkgs-update-pypi-releases";
     nixpkgs-update-pypi-releases.flake = false;
     sops-nix.url = "github:Mic92/sops-nix";
+    sops-nix.inputs.nixpkgs.follows = "nixpkgs";
     hercules-ci-effects.url = "github:hercules-ci/hercules-ci-effects";
-    hercules-ci-agent.url = "hercules-ci-agent/master";
+    hercules-ci-agent.url = "github:hercules-ci/hercules-ci-agent/master";
     hydra.url = "github:NixOS/hydra";
     hydra.inputs.nixpkgs.follows = "nixpkgs";