diff --git a/flake.lock b/flake.lock
index 3476f0c6694484a4c86434a47a9135b3afdce056..a85ded52f3ad8f93d0b0d1b526d5224b903cdf6f 100644
--- a/flake.lock
+++ b/flake.lock
@@ -17,15 +17,16 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1670952872,
-        "narHash": "sha256-tmhCNibwoviM+BHXBWUxO+XtAwbO84b2BHC4PrD7FrQ=",
+        "lastModified": 1669833724,
+        "narHash": "sha256-/HEZNyGbnQecrgJnfE8d0WC5c1xuPSD2LUpB6YXlg4c=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "16875b3e7be8380c29af192cc8ff1debae6d311a",
+        "rev": "4d2b37a84fad1091b9de401eb450aae66f1a741e",
         "type": "github"
       },
       "original": {
         "owner": "NixOS",
+        "ref": "22.11",
         "repo": "nixpkgs",
         "type": "github"
       }
diff --git a/flake.nix b/flake.nix
index 241a8f8f9c2ce44c44b08481f797bc6f725705c9..77aacd4e22b556589e8254294ffaa892d20ce5a4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,6 @@
 {
   inputs = {
-    nixpkgs.url = "github:NixOS/nixpkgs?tag=22.11";
+    nixpkgs.url = "github:NixOS/nixpkgs?ref=22.11";
     flake-utils.url = "github:numtide/flake-utils";
   };